Fable.Modulo


FormCheckboxModel<'f> Type

Model for a "checkbox" element.

Record fields

Record Field Description

Layout

Full Usage: Layout

Field type: FormFieldLayout
Field type: FormFieldLayout

Updater

Full Usage: Updater

Field type: FormCheckboxModel<'f> -> 'f -> 'f
Field type: FormCheckboxModel<'f> -> 'f -> 'f

Validator

Full Usage: Validator

Field type: ('f -> bool -> Result<bool, string>) option
Field type: ('f -> bool -> Result<bool, string>) option

Value

Full Usage: Value

Field type: Result<bool, string>
Field type: Result<bool, string>

Instance members

Instance member Description

this.UpdateForm

Full Usage: this.UpdateForm

Parameters:
    form : 'f

Returns: 'f

Update the parent form with this item's value

form : 'f
Returns: 'f

this.Validate

Full Usage: this.Validate

Parameters:
    form : 'f
    value : Result<bool, string>

Returns: Result<bool, string>

Validate the given value against the given form using this field's validator if defined

form : 'f
value : Result<bool, string>
Returns: Result<bool, string>