added isEnabled

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-08-21 14:07:59 -05:00
parent e7bcd32588
commit 56b4142c14

View File

@ -137,3 +137,7 @@ import VDS
try container.encode(inverted, forKey: .inverted)
}
}
extension FormFieldModel {
public var isEnabled: Bool { enabled && !readOnly }
}