Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include 'time' Input Type #1057

Merged
merged 1 commit into from
Jan 6, 2025
Merged

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 facultyai: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
Development

Successfully merging this pull request may close these issues.

2 participants