refactored
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
60cefc57a6
commit
de67fd7fb6
@ -8,7 +8,7 @@
|
|||||||
import MVMCore
|
import MVMCore
|
||||||
import VDS
|
import VDS
|
||||||
|
|
||||||
@objcMembers public class RadioBoxModel: FormFieldModel {
|
public class RadioBoxModel: FormFieldModel {
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Properties
|
// MARK: - Properties
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|||||||
@ -81,7 +81,7 @@ extension Array where Element == RadioBoxModel {
|
|||||||
radioBox.surface = surface
|
radioBox.surface = surface
|
||||||
radioBox.selected = item.selected
|
radioBox.selected = item.selected
|
||||||
radioBox.strikethrough = item.strikethrough
|
radioBox.strikethrough = item.strikethrough
|
||||||
radioBox.disabled = !(item.enabled && !item.readOnly)
|
radioBox.disabled = !item.isEnabled
|
||||||
return radioBox
|
return radioBox
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user