(decorate-field form identifier [options] form-field)
(decorate-field)
is used to add automatic data capture and validation features
to each form field. This function accepts the following parameters:
(decorate-field form identifier [options] form-field)
It corresponds to the getFieldDecorator function. For an explaination of the parameters, please refer to the API documentation, the Ant Design Form page and the examples provided.
After the form has been obtained via (get-form)
, the form functions can be used.
An example of the usage of these functions is shown here:
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |