disable url textbox and hide protocol buttons in edit mode
This commit is contained in:
1 parent
9e773f6917
commit
2e449269de
1 file changed
+3
@@ -314,7 +314,9 @@ const CreateInfrastructureMonitor = () => {
|
||||
onChange={handleChange}
|
||||
error={errors["url"] ? true : false}
|
||||
helperText={errors["url"]}
|
||||
disabled={!isCreate}
|
||||
/>
|
||||
{isCreate && (
|
||||
<Box>
|
||||
<Typography component="p">{t("infrastructureProtocol")}</Typography>
|
||||
<ButtonGroup>
|
||||
@@ -334,6 +336,7 @@ const CreateInfrastructureMonitor = () => {
|
||||
</Button>
|
||||
</ButtonGroup>
|
||||
</Box>
|
||||
)}
|
||||
<TextInput
|
||||
type="text"
|
||||
id="name"
|
||||
|
||||
Reference in new issue
Block a user