diff --git a/PlatformUI/PlatformUI/Components/Input/PlatformInput.swift b/PlatformUI/PlatformUI/Components/Input/PlatformInput.swift index 0bd327270..c68752b60 100644 --- a/PlatformUI/PlatformUI/Components/Input/PlatformInput.swift +++ b/PlatformUI/PlatformUI/Components/Input/PlatformInput.swift @@ -542,6 +542,7 @@ open class PlatformBooleanInputViewModel: PlatformValueInputViewModel { Spacer() Toggle("", isOn: self.inputBinding) .toggleStyle(SwitchToggleStyle(tint: ThemeColor.SemanticColor.colorPurple.color)) + .disabled(!self.isEnabled) } ) }