13 lines
276 B
Plaintext
13 lines
276 B
Plaintext
|
|
<form
|
||
|
|
onSubmit={(event) => {
|
||
|
|
event.preventDefault();
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
<Textarea
|
||
|
|
placeholder="Try to submit with no text!"
|
||
|
|
required
|
||
|
|
sx={{ mb: 1 }}
|
||
|
|
/>
|
||
|
|
<Textarea placeholder="It is disabled" disabled sx={{ mb: 1 }} />
|
||
|
|
<Button type="submit">Submit</Button>
|
||
|
|
</form>
|