Liking cljdoc? Tell your friends :D

re-frame-forms.protocols


clear-error!cljs

(clear-error! this)

Clear field error

Clear field error
sourceraw docstring

CoercedValuecljsprotocol

Field protocol converting to/from string

Field protocol converting to/from string

set-str-value!cljs

(set-str-value! this val retain-str?)

Set current value by converting val from string

Set current value by converting val from string

str-valuecljs

(str-value this)

Get reaction for current value converted to string

Get reaction for current value converted to string
sourceraw docstring

DelayedValidationcljsprotocol

mark-error!cljs

(mark-error! this error)

mark-ok!cljs

(mark-ok! this)

start-validation!cljs

(start-validation! this)
source

DelayValidationContainercljsprotocol

validation-in-progress?cljs

(validation-in-progress? this)
source

ErrorContainercljsprotocol

Field/form errors

Field/form errors

errorscljs

(errors this)

Get reaction for current field/form errors

Get reaction for current field/form errors
sourceraw docstring

PersistentErrorcljsprotocol

Persistent error is retained between validations. Has to be explicitly set and cleared.

Persistent error is retained between validations. Has to be explicitly set and cleared.

set-error!cljs

(set-error! this error)

Set 1 error for the field. Error can be cleared by calling clear-error!

Set 1 error for the field. Error can be cleared by calling clear-error!
sourceraw docstring

ResetValuecljsprotocol

Protocol for accessing original value

Protocol for accessing original value

original-valuecljs

(original-value this)

Get original value of the form/field

Get original value of the form/field

reset-value!cljs

(reset-value! this)

Reset form/field to the original value, clear errors

Reset form/field to the original value, clear errors
sourceraw docstring

Touchablecljsprotocol

Protocol for forced validation.

Protocol for forced validation.

touch!cljs

(touch! this)

Touch the field/form

Touch the field/form

touched?cljs

(touched? this)

Get reaction with current touch status

Get reaction with current touch status
sourceraw docstring

Validatablecljsprotocol

Field/form validation status

Field/form validation status

valid?cljs

(valid? this)

Get reaction for current validation status of the form/field

Get reaction for current validation status of the form/field
sourceraw docstring

Valuecljsprotocol

Protocol for value holder

Protocol for value holder

set-value!cljs

(set-value! this val)

Set current value

Set current value

valuecljs

(value this default)

Get reaction for current value

Get reaction for current value
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close