Skip to content

Support visibility and disabled bindings in sub views#2357

Merged
tf merged 1 commit intocodevise:masterfrom
tf:custom-color-input-binding-fix
Feb 9, 2026
Merged

Support visibility and disabled bindings in sub views#2357
tf merged 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
@tf tf added this to the v17.2 milestone Jan 30, 2026
@tf tf merged commit f63d853 into codevise:master Feb 9, 2026
18 checks passed
@tf tf deleted the custom-color-input-binding-fix branch February 9, 2026 15:08
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