Been coding half my life. Started in MS Access, then on to Lotus Notes, then Domino, then vb 6, mssql, asp.net, then C#, then Java, then Flex, Silverlight, Unity, php, mysql, python, javascript.
Good Article. If Yup.required() is configured for a textfield, meaning it is a required field. How would you pass that information to the TextField so that is renders the label with the * suffix, either ideally before even touching the field but if that's impossible then at the very least after touching? Look here to see what the required field is supposed to look like material-ui.com/demos/text-fields/
Good Article. If Yup.required() is configured for a textfield, meaning it is a required field. How would you pass that information to the TextField so that is renders the label with the * suffix, either ideally before even touching the field but if that's impossible then at the very least after touching? Look here to see what the required field is supposed to look like material-ui.com/demos/text-fields/
Thanks. I have not been able to figure out how to do this yet, I will keep looking for solutions. if you find a solution please share.
As you know beforehand which fields will be required, you can just use the "required" prop on the according TextField.