All notable changes to this project will be documented in this file.
- Dynamic array input and more built-in inputs
- Support for any side effect free validation
:external-errorskey to differenciate from input:errors:form-idto let fork know about the inputs
:initial-valuesnot required- Safe calls to
(values "input")or(touched "input")when no value is set
- Built-in validation
- Array input support
set-touchedhandler
- Bulma dropdowns take a list of maps as options rather than a map
send-server-requesthandler
component-did-mounthandlerinitial-touchedhandler
set-touchedargs should not be wrapped in a sequence.
- enable disable re-frame handlers
on-submit-responsehandlerset-status-codere-frame handler
- set-external-errors
:throttleoption toon-submit-response
resethandler to props
dirty?submit handler intodirty. Now, the variable returns eithernilor a map of changed values.
- to use Fork now you need to require either
fork.re-frameorfork.reagent. For the bulma UI kit requirefork.bulma :on-submit-responsemap has been removed. It's better to delegate the server for the error messages:on-submit-response-messagehas changed into:on-submit-server-message:set-status-codehas changed into:set-server-message:set-waiting,:set-submitting, and:set-server-messageare now globally accessible from yourfork.re-frameorfork.reagentnamespaces.- the re-frame interceptors
:on-submitand:cleanhave been removed. Therefore, now you need to set submitting? to true yourself (through the global helper).