You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
FormhausCore
Passes the conformance suite of @formhaus/core 1.6.1.
Fixed validateSubmission throwing FormDefinitionError for definitions with a slow-pattern pattern. Every pattern runs again, on values of up to 10,000 characters.
The slow-pattern warning no longer covers repeated groups that start or end with a separator nothing else in the group matches, such as ^[A-Za-z]+([ '-][A-Za-z]+)*$, or small bounded repeats, such as ^#(?:[0-9a-fA-F]{3}){1,2}$.
FormhausUI
New conditionalReveal option on FormBehavior draws a field shown by a radio or multiselect answer under that option, indented with a line on its left. Off by default.
With conditionalReveal, the error of a choice field that reveals fields shows above its options.
The .system set reveals under inline choice lists. Menu and pushed pickers and custom field views keep the fields in place.
New revealLine on Controls sets the width of the line beside revealed fields.
The .system set draws a radio or multiselect list inside a section as rows, one per option.
Fixed the error of an empty text or number field disappearing when the field takes focus after a failed submit on iOS.
Fixed VoiceOver reading "Selected" on unchecked options of multiselect fields and .system choice lists.
Fixed the large navigation title of the .system set covering the first rows after a failed submit scrolled to a field that was already on screen.
Fixed a failed submit in the .system set not focusing a text field that was off screen.
The .system set shows a field's error under its row instead of in the section footer.
A failed submit in the .system set keeps the question of the invalid field on screen, and the field with its error above the keyboard.