CLASS
CheckboxFormField
Contents
- Properties
checked
readonly
value
- Methods
encode(to:)
public final class CheckboxFormField: FormField
A checkbox form field.
Properties
checked
public let checked: Bool
The initial checked state.
readonly
public let readonly: Bool
Whether the initial checked state is changeable.
value
public let value: String?
An optional String
that represents the value of the field.
Methods
encode(to:)
override public func encode(to encoder: Encoder) throws