mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-17 14:56:36 +00:00
style(testcase-form): reorder input props and make inputs read-only
This commit is contained in:
parent
8b3faf4a42
commit
e7ad3a66e6
@ -49,9 +49,10 @@ export default function TestcaseForm(props: TestcaseFormInterface) {
|
||||
<FormLabel>{`${fieldName} =`}</FormLabel>
|
||||
<FormControl>
|
||||
<Input
|
||||
className="bg-muted border-transparent shadow-none rounded-lg h-10"
|
||||
placeholder={`Enter ${fieldName}`}
|
||||
type="text"
|
||||
placeholder={`Enter ${fieldName}`}
|
||||
readOnly
|
||||
className="bg-muted border-transparent shadow-none rounded-lg h-10"
|
||||
{...field}
|
||||
/>
|
||||
</FormControl>
|
||||
|
Loading…
Reference in New Issue
Block a user