Expected result :
Depends on :
Here you will use atoms to be able to create you field.
I don't know if you can use the component Input to manage the errors because there is multiple inputs in the same component.
Utilise un fieldset pour lier le label au différents inputs :
<fieldset>
<legend>Durée</legend>
<label htmlFor="days-input">Jours</label>
<input id="days-input" type="number" min="0" />
<label htmlFor="hours-input">Heures</label>
<input id="hours-input" type="number" min="0" max="23" />
<label htmlFor="minutes-input">Minutes</label>
<input id="minutes-input" type="number" min="0" max="59" />
</fieldset>
Expected result :
Depends on :
Here you will use atoms to be able to create you field.
I don't know if you can use the component Input to manage the errors because there is multiple inputs in the same component.
Utilise un fieldset pour lier le label au différents inputs :