Commit graph

2 commits

Author SHA1 Message Date
jqlio18
faddb4c654 1. We should verify if the input is in an error state onMount and set the error accordingly.
2. Fix last commits and the `invalid` state border works again.
3. If the `invalid` state is set by the user, we must use `setCustomValidity` to set input validity to false.
4. `invalidText` must have a default and must not be empty. If empty, it will set the validity to true. I don't know if we should check for that.
2022-12-13 17:42:00 -05:00
metonym
4e3415a4e9
docs: Checkbox, Tabs, NumberInput (#1045)
* add `Checkbox` reactive example for `bind:checked` (#967)

* update `Checkbox` reactive example for `bind:group` to demo two-way binding

* simplify `Tabs` reactive example

* add `NumberInput` "No value" example
2022-01-27 07:27:10 -08:00