Skip to content

Support visibility and disabled bindings in sub views#2357

Open
tf wants to merge 1 commit intocodevise:masterfrom
tf:custom-color-input-binding-fix
Open

Support visibility and disabled bindings in sub views#2357
tf wants to merge 1 commit intocodevise:masterfrom
tf:custom-color-input-binding-fix

Conversation

@tf
Copy link
Member

@tf tf commented Jan 30, 2026

ColorSelectOrCustomColorInputView uses internal sub-views with a different model. Pass binding options to these sub-views with the correct binding model so that visibleBinding and disabledBinding options work as expected.

Handle all binding option variants:

  • visible/disabled as function or boolean without binding
  • visibleBinding/disabledBinding with bindingValue
  • visibleBinding/disabledBinding with visible/disabled function
  • Custom binding models

REDMINE-21218

ColorSelectOrCustomColorInputView uses internal sub-views with a
different model. Pass binding options to these sub-views with the
correct binding model so that visibleBinding and disabledBinding
options work as expected.

Handle all binding option variants:
- visible/disabled as function or boolean without binding
- visibleBinding/disabledBinding with bindingValue
- visibleBinding/disabledBinding with visible/disabled function
- Custom binding models

REDMINE-21218
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant