mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Bugfix: toggle should be disabled when a toggle column of table widget is not editable (#2327)
This commit is contained in:
parent
f2b0b880f1
commit
af0ce7d8bb
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ export const Toggle = ({ readOnly, value, onChange, activeColor }) => {
|
|||
onClick={() => {
|
||||
if (!readOnly) toggle();
|
||||
}}
|
||||
disabled={readOnly}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue