All notable changes to this project will be documented in this file.
:external-errors
key to differenciate from input :errors
:form-id
to let fork know about the inputs:initial-values
not required(values "input")
or (touched "input")
when no value is setset-touched
handlersend-server-request
handlercomponent-did-mount
handlerinitial-touched
handlerset-touched
args should not be wrapped in a sequence.on-submit-response
handlerset-status-code
re-frame handler:throttle
option to on-submit-response
reset
handler to propsdirty?
submit handler into dirty
. Now, the variable returns either nil
or a map of changed values.fork.re-frame
or fork.reagent
. For the bulma UI kit require fork.bulma
:on-submit-response
map has been removed. It's better to delegate the server for the error messages:on-submit-response-message
has changed into :on-submit-server-message
:set-status-code
has changed into :set-server-message
:set-waiting
, :set-submitting
, and :set-server-message
are now globally accessible from your fork.re-frame
or fork.reagent
namespaces.:on-submit
and :clean
have been removed. Therefore, now you need to set submitting? to true yourself (through the global helper).errors
, dirty
, and touched
arguments to the send-server-request
user provided function.send-server-request
only takes two params. The first one is a map that must contain a :name
key along with optional :value
, :evt
, :debounce
, :throttle
keys. The the second one is the user provided fn for the server http request.keywordize-keys
config param. It casts all strings to keywords, allowing the developer to only deal with keywords across the form components and handlers.successful-submissions
value to props.submit-count
into attempted-submissions
.Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close