mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +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>
|
<FormLabel>{`${fieldName} =`}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input
|
<Input
|
||||||
className="bg-muted border-transparent shadow-none rounded-lg h-10"
|
|
||||||
placeholder={`Enter ${fieldName}`}
|
|
||||||
type="text"
|
type="text"
|
||||||
|
placeholder={`Enter ${fieldName}`}
|
||||||
|
readOnly
|
||||||
|
className="bg-muted border-transparent shadow-none rounded-lg h-10"
|
||||||
{...field}
|
{...field}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
Loading…
Reference in New Issue
Block a user