LearnNewsExamplesServices
Frontmatter
id2132
titleform.Fieldset: disableItemsOnCollapse => honor dynamic item disabled changes while being collapsed
stateClosed
labels
enhancementstale
assignees[]
createdAtMay 23, 2021, 11:18 AM
updatedAtSep 16, 2024, 4:37 AM
githubUrlhttps://github.com/neomjs/neo/issues/2132
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 16, 2024, 4:37 AM

form.Fieldset: disableItemsOnCollapse => honor dynamic item disabled changes while being collapsed

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on May 23, 2021, 11:18 AM

Low priority item, since this is an edge case. Add comments in case you need this to increase the priority.

In case we collapse a fieldset with disableItemsOnCollapse: true, we will store disabled item ids. If you enable a fieldset item while the fieldset is collapsed and then expand the fieldset, the field will get (silently) disabled again.

To solve this, we need to observe the disabled state of fieldset items and adjust the internal fieldset itemsDisabledMap as needed.

tobiu added the enhancement label on May 23, 2021, 11:18 AM