kopia lustrzana https://github.com/shoelace-style/shoelace
Update changelog
rodzic
d14944aba6
commit
6e1ccdeb9a
|
@ -14,7 +14,7 @@
|
||||||
**Form validation has been reworked and is much more powerful now!**
|
**Form validation has been reworked and is much more powerful now!**
|
||||||
|
|
||||||
- The `invalid` prop now reflects the control's validity as determined by the browser's constraint validation API
|
- The `invalid` prop now reflects the control's validity as determined by the browser's constraint validation API
|
||||||
- Added `required` to `sl-checkbox`, `sl-radio`, and `sl-switch`
|
- Added `required` to `sl-checkbox`, `sl-select`, and `sl-switch`
|
||||||
- Added `reportValidity()` and `setCustomValidity()` methods to all form controls
|
- Added `reportValidity()` and `setCustomValidity()` methods to all form controls
|
||||||
- Removed the `valid` prop from all form controls
|
- Removed the `valid` prop from all form controls
|
||||||
- Removed valid and invalid design tokens and related styles (you can use your own custom styles to achieve this)
|
- Removed valid and invalid design tokens and related styles (you can use your own custom styles to achieve this)
|
||||||
|
|
Ładowanie…
Reference in New Issue