馃殌 1.7.5 resetField fix & example app polish
What's Changed
Bug fix and example improvements. No breaking API changes to useForm.
- fix(main): resetField validation: Clearing a field with
resetFieldon a touched form now keeps the field dirty and shows validation errors (e.g. required), matching keyboard backspace/delete behavior. - refactor(main): React 19 types: Replaced deprecated
FormEventwithSubmitEventforhandleOnSubmit. - feat(example): ClearableInput: Added hover/focus 脳 clear buttons on password fields, demonstrating
resetField. - style(example): dark mode: Submit button uses white primary styling in dark mode (inverted from light mode).
- docs: Updated
HandleOnSubmitTypeforSubmitEvent.
Full Changelog: 1.7.4...1.7.5