feat: readonly mode instead of disabled
This commit is contained in:
@@ -152,7 +152,9 @@ export const RightSidePanel = ({ pairForEdit }: RightSidePanelProps) => {
|
|||||||
margin="normal"
|
margin="normal"
|
||||||
error={!!errors[step.id]}
|
error={!!errors[step.id]}
|
||||||
helperText={errors[step.id]}
|
helperText={errors[step.id]}
|
||||||
disabled={confirmedSteps[step.id]}
|
InputProps={{
|
||||||
|
readOnly: confirmedSteps[step.id]
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<Typography variant="h6">{step.value}</Typography>
|
<Typography variant="h6">{step.value}</Typography>
|
||||||
{!confirmedSteps[step.id] && (
|
{!confirmedSteps[step.id] && (
|
||||||
|
|||||||
Reference in New Issue
Block a user