Fix :disabled for a certain checkbox
This commit is contained in:
parent
861e62dc56
commit
dbf96f97b6
@ -156,6 +156,7 @@
|
|||||||
<div class="flex label-secondary form-label">
|
<div class="flex label-secondary form-label">
|
||||||
<input :checked="settings?.active?.mitigations?.zoomLimit?.fullscreenOnly"
|
<input :checked="settings?.active?.mitigations?.zoomLimit?.fullscreenOnly"
|
||||||
@change="setMitigation(['zoomLimit', 'fullscreenOnly'], $event.target.checked)"
|
@change="setMitigation(['zoomLimit', 'fullscreenOnly'], $event.target.checked)"
|
||||||
|
:disabled="!settings?.active?.mitigations?.zoomLimit?.enabled"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
/> Limit zoom only while in fullscreen
|
/> Limit zoom only while in fullscreen
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user