Skip to content

Commit

Permalink
Change readOnly on disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
akucharska committed Oct 25, 2023
1 parent 5a6a345 commit 408347a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/BusolaExtensions/ColumnsInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ export function ColumnsInput({ value: columns, setValue: setColumns }) {
className="input-full"
required
placeholder={t('extensibility.starter-modal.headers.field-name')}
readOnly={!value.isSelected ? true : false}
disabled={!value.isSelected ? true : false}
/>
<Input className="input-full" readOnly value={value?.path} />
<Input className="input-full" readOnly value={value?.type} />
<Input className="input-full" disabled value={value?.path} />
<Input className="input-full" disabled value={value?.type} />
</div>
);
});
Expand Down

0 comments on commit 408347a

Please sign in to comment.