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

UX/UI: Amélioration des champs de saisie de dates #5504

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

francoisfreitag
Copy link
Contributor

🤔 Pourquoi ?

L’implémentation précédente était basée sur UIEvent.which, qui est dépréciée : https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which

Corriger un bug qui m’énerve depuis 2 ans, taper 01/ écrit 01// dans le champ.

The previous version was relying on `UIEvent.which` to identify the key
being pressed, which is deprecated.
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which

Also, typing out `01/` would result in `01//`, the first slash being
inserted automatically and the second `/` being added when the user
hits the `/` key.
@francoisfreitag francoisfreitag added the no-changelog Ne doit pas figurer dans le journal des changements. label Jan 30, 2025
@francoisfreitag francoisfreitag self-assigned this Jan 30, 2025
Copy link
Contributor

@hellodeloo hellodeloo left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@celine-m-s celine-m-s left a comment

Choose a reason for hiding this comment

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

🧹

@francoisfreitag francoisfreitag added this pull request to the merge queue Jan 31, 2025
Merged via the queue into master with commit e6a0d9e Jan 31, 2025
10 checks passed
@francoisfreitag francoisfreitag deleted the ff/date-picker branch January 31, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Ne doit pas figurer dans le journal des changements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants