Describe the bug
Input required doesn't work with input type date, the red asterisk is not displayed
To reproduce
Add an input type date with required property
See that the red asterisk is not displayed
If you check the DOM (see the screenshot), only the first input has required attribute, the second one has not the required attribute. In case of input type date, we have 2 inputs in the DOM, one is fake.
Expected behavior
Input required should work with all types of inputs.
Describe the bug Input
required
doesn't work with input typedate
, the red asterisk is not displayedTo reproduce
required
propertyrequired
attribute, the second one has not therequired
attribute. In case of input type date, we have 2 inputs in the DOM, one is fake.Expected behavior Input required should work with all types of inputs.
Framework usage React: 16.13.1 "@tradeshift/tradeshift-ui": "^12.6.0",
Desktop (please complete the following information): All browsers
Smartphone (please complete the following information): All devices
Additional context