mirror of
https://github.com/System-End/site.git
synced 2026-04-19 18:35:12 +00:00
Show form errors on textareas
This commit is contained in:
parent
3769e5b3d7
commit
c5335b1e38
2 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,9 @@ const formContainer = forwardRef(({ children, ...props }, ref) => {
|
|||
minHeight: '100dvb',
|
||||
'&.has-errors div[aria-required="true"] input:placeholder-shown': {
|
||||
borderColor: 'primary'
|
||||
},
|
||||
'&.has-errors div[aria-required="true"] textarea:placeholder-shown': {
|
||||
borderColor: 'primary'
|
||||
}
|
||||
}}
|
||||
{...props}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ export default function OrganizationAdultForm({ requiredFields }) {
|
|||
<Textarea
|
||||
name="eventPoliticalActivity"
|
||||
id="eventPoliticalActivity"
|
||||
placeholder="We are involved in..."
|
||||
rows={3}
|
||||
sx={{
|
||||
resize: 'vertical'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue