Required elements - #652
Conversation
|
[diff-counting] Significant lines: 86. |
|
Before I review this PR, wanted to note that a lot of teh changes are from |
727ce34 to
90db46b
Compare
improve UX. Updated Label component to support `required` prop and added indicators to employee, location, ride, and rider forms. MUI components use `required` prop; DatePicker/TimePicker use asterisks in label strings.
90db46b to
ac3ecd2
Compare
Thanks for calling that out. |
|
Closing in favor of #653 |
Add visual indicators to required form fields across the application to
improve UX. Updated Label component to support
requiredprop and added indicators to employee, location, ride, and rider forms. MUI componentsThis pull request is the first step towards having asterisks in required form fields.
Test Plan
I tested manually.
use



requiredprop; DatePicker/TimePicker use asterisks in label strings.Notes
I focused on the forms explicitly mentioned in the Jira ticket.
The same validation logic can be easily extended to other forms with minimal additional code if needed.