feat: make setting fields readonly

This commit is contained in:
karishmas6
2024-10-24 03:47:23 +05:30
parent 18f5fb39bc
commit e4cc8ae111

View File

@@ -89,19 +89,25 @@ export const RobotSettingsModal = ({ isOpen, handleStart, handleClose, initialSe
<TextField
label="Robot Target URL"
value={robot.recording.workflow[0].where.url}
disabled
InputProps={{
readOnly: true,
}}
style={{ marginBottom: '20px' }}
/>
<TextField
label="Robot ID"
value={robot.recording_meta.id}
disabled
InputProps={{
readOnly: true,
}}
style={{ marginBottom: '20px' }}
/>
<TextField
label="Robot Created At"
value={robot.recording_meta.createdAt}
disabled
InputProps={{
readOnly: true,
}}
style={{ marginBottom: '20px' }}
/>
</>