Repository navigation
fix(actions): nullable arrays, required fields and form layout - #35
Merged
Merged
Conversation
added 2 commits
October 6, 2026 12:21
…lable ones - nullable arrays without default are sent as null, not as an empty array - non-nullable arrays without default value are required, shown with asterisk - array card shows null, not set or empty, nullable arrays can be set back to null - removing the last item keeps an empty array - formly's [] default for required arrays no longer hides a missing value - no asterisk on arrays from formly: required rejected an empty array, which is a valid value - remove formly's required on arrays before the form is built, not after a rebuild - list invalid fields and failed checks in the Submit tooltip BREAKING CHANGE: non-nullable arrays without a default value now block Submit until they are set; send a default value of [] for arrays that may start empty.
…ields - checkbox fields are as high as text inputs and the box lines up with input text - array fields keep the same gap to the next field as inputs - property tree no longer shrinks checkboxes outside the tree
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.
Summary
Follow-up to #34. Optional arrays blocked Submit, and there was no way to send
nullfor an array.Arrays
null. Before, it was always sent as[].[]. formly's[]default for arrays inrequiredno longer hides a missing value.Submit
Please fix: labels (required).Layout
::ng-deepstyle was not scoped.Breaking change
A non-nullable array without a default value now blocks Submit until it is set. APIs should send
[]as the default value for arrays that may start empty.Tests