added isEnabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
e7bcd32588
commit
56b4142c14
@ -137,3 +137,7 @@ import VDS
|
|||||||
try container.encode(inverted, forKey: .inverted)
|
try container.encode(inverted, forKey: .inverted)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extension FormFieldModel {
|
||||||
|
public var isEnabled: Bool { enabled && !readOnly }
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user