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

Fix DatetimeInput so it respects html5 wrapper configuration #1830

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jamezilla
Copy link

Bug fix for #1739

I reorganized the tests a little bit. Tests which should generate html5 inputs were consolidated under DateTimeInputWithHtml5Test and tests which shouldn't generate html5 inputs were consolidated under DateTimeInputWithoutHtml5Test.

I also removed some unnecessary calls to swap_wrapper since the default wrapper supports optional use of the html5 component.

@csculley
Copy link

csculley commented Dec 4, 2024

Is there anything beyond updating this PR to the latest commit that is preventing this PR from getting merged? I'm interested in seeing this behavior 😄

In #1739 (comment), @rafaelfranca mentioned that he'd like to see the existing behavior matched, which might require additional changes to this ticket and the default configuration to disable these html5 fields by default.

This PR could probably also be updated to say Fixes #1739 or have the issue added manually by a moderator since it doesn't seem to be linked to #1739

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