You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar issue for Checkbox: onCheckedChange vs onChange.
For the Kobalte checkbox, onChange is not reported, so my Checkbox migrated from Hope-UI didn't work before switching to onCheckedChange. It would be better if TypeScript would catch it.
Reporting them on a case-by-case basis as they appear.
fabien-ml
changed the title
Omit redundant HTML props to avoid confusion
Use native HTML attribute names instead of isX or hasX to avoid confusion
Apr 2, 2023
Describe the bug
Some components has both
isDisabled
anddisabled
props which is a bit confusing. It would be cleaner to expose just one.Expected behavior
Expose only one prop when equivalent exist as HTML attribute (disabled, required, readOnly, etc...).
The text was updated successfully, but these errors were encountered: