Repository navigation
v0.181.0
Minor Changes
-
#1412
3fac2506Thanks @tenphi! - Improve the modern Form API before adoption: add typed field descriptors with nullable input bindings and value/state hooks, reject misspelled literal command paths, and expose immutable nested read types while preserving date-control value types. Controller callbacks now use the latest committed props; validators use explicit field/external dependencies and cancel stale in-flight reads. Rule comparison detects function replacements while keeping equivalent inline closures stable. Declarative constraints stay reactive withrulesKey; descriptor construction keeps public dependencies unchanged and defers function comparison until registration. Submit and Reset honor their controller outside the form, both honor click cancellation, modern Submit stays enabled after validation errors by default, reset availability is exposed ascanReset, root payload selection supports retained values, and submission failures have discriminated results with explicit-controller error rendering. Existing legacy forms retain their API and behavior. Modern consumers should handleonSubmitFailedby itsstatusand usedepsfor external validator inputs anddependsOnfor sibling form paths. -
#1414
e10af40cThanks @tenphi! - Allow nested tuple paths in inputnameprops with modern form controllers, including numeric array indices and readonly tuples. Typedfielddescriptors remain optional. Normalize tuple names before forwarding to the DOM and reject them on legacy controllers, which retain string names and dot notation. Clarify the two binding styles in the Form guides.
Patch Changes
-
#1415
eac9730fThanks @tenphi! - Close a Dialog on the firstEscapeafter a list inside it was used. Several separate swallows each kept it open: a popup that had already closed still claimed the key throughuseOverlay, focus was left on an option that detached before the key was dispatched, trigger keyboard handlers stopped a key they never used, and the trigger's tooltip took whatever got past from a document-level listener once focus returned. Tooltips no longer open when focus is restored rather than the user arriving, andListBox,PickerandFilterPickernow releaseEscape— and onlyEscape— to whatever surrounds them. -
#1414
e10af40cThanks @tenphi! - Preserve the first typed character when editing a controlled ComboBox with custom values. Keep FileInput filenames and native selections synchronized with form resets and controlled value changes, including text uploads, and abort replaced or unmounted file reads. Both fixes apply to legacy and modern forms.