feat: add signal bind methods to flow components#8728
Draft
Conversation
Add bindX(Signal/WritableSignal) methods across multiple components for signal bindings that keep component state synchronized with signal values while attached. One-way bindings (Signal → component): - CheckboxGroup.bindRequired - ComboBoxBase.bindRequired - ProgressBar.bindIndeterminate - BigDecimalField.bindLocale - Details.bindOpened (WritableSignal, two-way) - Markdown.bindContent + Markdown(Signal<String>) constructor - Grid.bindColumns, Column.bindHeader/bindFooter, bindEmptyStateText - Tooltip.bindText Two-way bindings (WritableSignal ↔ component): - AppLayout.bindDrawerOpened - Checkbox.bindIndeterminate - Crud.bindDirty - MenuItemBase.bindChecked - SideNav.bindExpanded - SplitLayout.bindSplitterPosition - Tabs.bindSelectedIndex - Map.bindCenter, Map.bindZoom (via moveend event write-back) Includes unit tests for all bind methods.
Collaborator
TC Format Checker Report - 13:00 - 18 - Feb
Here is the list of files with format issues in your PR: |
Contributor
|
@Artur-, are the draft signal PRs going to be closed? Are those for the testing purposes? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add bindX(Signal/WritableSignal) methods across multiple components for signal bindings that keep component state synchronized with signal values while attached.
One-way bindings (Signal → component):
Two-way bindings (WritableSignal ↔ component):
Includes unit tests for all bind methods.