We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b2d104 commit da3df5eCopy full SHA for da3df5e
2 files changed
src/molecules/form-fields/select-form-field.tsx
@@ -58,8 +58,7 @@ const SelectFormField: React.FC<SelectFormFieldProps> = (
58
<div className={`${COMPONENT_CLASS} ${cssIsValid}`}>
59
<label htmlFor={fieldId}>
60
{label}
61
- {// if
62
- required && "*"}
+ {required ? "*" : ""}
63
</label>
64
<Select options={values} id={id} onChange={onChange} name={name} />
65
<div className={`${COMPONENT_CLASS}__errors`}>
src/molecules/form-fields/text-area-form-field.tsx
@@ -69,8 +69,7 @@ const TextAreaFormField: React.FC<TextAreaFormFieldProps> = (
69
70
71
72
73
- required ?? "*"}
74
75
<TextArea
76
disabled={disabled}
0 commit comments