-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When using showMillis and/or showSeconds we are getting this warning as these custom props are given to the input component.
Warning: React does not recognize the `showSeconds` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `showseconds` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in input (created by TimeField)
https://reactjs.org/warnings/unknown-prop.html
It would be nice if you can avoid your custom props from being given to the native Input component.
(Issue is due to this:
react-advanced-timefield/src/index.tsx
Line 332 in db5c7dd
| {...props} |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels