feat: make setting fields readonly
This commit is contained in:
@@ -89,19 +89,25 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
|
|||||||
<TextField
|
<TextField
|
||||||
label="Robot Target URL"
|
label="Robot Target URL"
|
||||||
value={robot.recording.workflow[0].where.url}
|
value={robot.recording.workflow[0].where.url}
|
||||||
disabled
|
InputProps={{
|
||||||
|
readOnly: true,
|
||||||
|
}}
|
||||||
style={{ marginBottom: '20px' }}
|
style={{ marginBottom: '20px' }}
|
||||||
/>
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
label="Robot ID"
|
label="Robot ID"
|
||||||
value={robot.recording_meta.id}
|
value={robot.recording_meta.id}
|
||||||
disabled
|
InputProps={{
|
||||||
|
readOnly: true,
|
||||||
|
}}
|
||||||
style={{ marginBottom: '20px' }}
|
style={{ marginBottom: '20px' }}
|
||||||
/>
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
label="Robot Created At"
|
label="Robot Created At"
|
||||||
value={robot.recording_meta.createdAt}
|
value={robot.recording_meta.createdAt}
|
||||||
disabled
|
InputProps={{
|
||||||
|
readOnly: true,
|
||||||
|
}}
|
||||||
style={{ marginBottom: '20px' }}
|
style={{ marginBottom: '20px' }}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user