Patch Changes
All frameworks
- Remove
useSetuphook to improve server-side rendering (SSR) for all frameworks
Core 0.1.8
- Fix order of execution between root entry-exit and initial state
PinInput 0.1.10
- Add support for
patternin machine context to allow consumer define their own patterns to validate against.
const [state, send] = useMachine( pinInput.machine({ pattern: "^[0-9.-]+$", }), )
- Improve form support by exposing
hiddenInputProps. When the machine is passed anameproperty:- The
inputelement withapi.hiddenInputPropsis attached will send updates to the closestformelement. - When the pin input's value is complete and the
Enterkey is pressed, the closestformwill be submitted.
- The
Edit this page on GitHub