You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only happens when id is not given to the input
when multiple inputs are present on same form , clicking on bottom inputs label focuses on the first input
Reason: by default id is undefined and so all inputs have same id, and since label has htmlFor=id , the first input is focused
Solution: give a unique id to each input as default or make id field as mandatory (making field mandatory will be breaking change so discuss before adding it)
Screen.Recording.2023-02-10.at.5.45.53.PM.mov
The text was updated successfully, but these errors were encountered:
@AbhinavMV do you guys have a build command. I think it would pick them all up and make a list for you guys. Yeah we should be more careful i think everyone got into a habit of making almost all props optional 😅
only happens when id is not given to the input
when multiple inputs are present on same form , clicking on bottom inputs label focuses on the first input
Reason: by default id is
undefined
and so all inputs have same id, and since label hashtmlFor=id
, the first input is focusedSolution: give a unique id to each input as default or make id field as mandatory (making field mandatory will be breaking change so discuss before adding it)
Screen.Recording.2023-02-10.at.5.45.53.PM.mov
The text was updated successfully, but these errors were encountered: