All notable changes to this project will be documented in this file.
state
to main props to allow users to pass their own ratomsdirty
to main propsfork/field-array
, set-handle-change
, set-handle-blur
path
option takes a vector of keys or a single key identifier for backward compatibilitypath
option now takes a vector of keysnormalize-name
prop to support namespaced keywordssuccessful-submissions
value to props.submit-count
into attempted-submissions
.keywordize-keys
config param. It casts all strings to keywords, allowing the developer to only deal with keywords across the form components and handlers.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.errors
, dirty
, and touched
arguments to the send-server-request
user provided function.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).dirty?
submit handler into dirty
. Now, the variable returns either nil
or a map of changed values.reset
handler to props:throttle
option to on-submit-response
on-submit-response
handlerset-status-code
re-frame handlercomponent-did-mount
handlerinitial-touched
handlerset-touched
args should not be wrapped in a sequence.send-server-request
handler: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 setCan you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close