feat: introduce asterisk for all the required fields

This commit is contained in:
Kasia
2023-12-01 10:26:31 +00:00
parent 3d6847a3a2
commit 8f8ec496f8
5 changed files with 8 additions and 5 deletions

View File

@@ -183,7 +183,7 @@ function ControlledCustomAutocomplete(props) {
variant="outlined"
sx={{ bgcolor: 'white', display: 'inline-block', px: 0.75 }}
>
{label}
{`${label}${required ? ' *' : ''}`}
</InputLabel>
</InputLabelWrapper>