Skip to content

Conversation

@lsagetlethias
Copy link
Collaborator

@lsagetlethias lsagetlethias commented Sep 6, 2023

When an Input is type="date", DSFR already change the native icon with the ri-calendar icon in Webkit based browser.

In Firefox, since there is no -moz- support from DSFR, the native is displayed, therefore adding another one is wrong:
image

This PR remove the add of the date icon from the <Input /> component

@enguerranws
Copy link
Collaborator

Seems fine to me since the DSFR doesn't say anything about input date's icon overriding.

@garronej
Copy link
Collaborator

garronej commented Sep 7, 2023

LGTM thanks!

@garronej garronej merged commit f38e121 into main Sep 7, 2023
@garronej garronej deleted the fix/input-date-icon branch September 7, 2023 09:24
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.

4 participants