Right Now the label are already red , but they should be red only when there is a error, we can solved this issue by maintaining a state for error but I think it should be much elegant if we add any form-validation library
Current Behaviour
Right now label are already in red color , but that should be only when there is any error after the fields are dirty or touched
Expected Behaviour
Form should validate the field and should convey the user what is missing only if the user touched the field or try submitting the form without entering data
Description
Right Now the label are already red , but they should be red only when there is a error, we can solved this issue by maintaining a state for error but I think it should be much elegant if we add any form-validation library
Current Behaviour
Right now label are already in red color , but that should be only when there is any error after the fields are dirty or touched
Expected Behaviour
Form should validate the field and should convey the user what is missing only if the user touched the field or try submitting the form without entering data
Additional Information
I would like to work on it