Skip to content

Conversation

@2Ryan09
Copy link
Contributor

@2Ryan09 2Ryan09 commented Jan 6, 2025

The 'time' input to <input> use to not be supported by Safari, which is likely why it wasn't included to begin with (related Dash thread). However, as of Safari 14.1, it now has full support across all modern browers.

I simply added it as a option to Input.propTypes.type, but I see there are other areas where it could potentially be added (e.g. Input.propTypes.inputmode/inputMode).

Using dbc.Input(type="time") already works as expected, so I figured this just requires an update of the docs.

@tcbegley tcbegley self-requested a review January 6, 2025 22:04
Copy link
Collaborator

@tcbegley tcbegley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, as you say this already works, these prop types are just used to generate documentation. Happy to merge this.

@tcbegley tcbegley merged commit 3dd0dac into dbc-team:main Jan 6, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants