(create-form form & {:keys [options props] :or {options {} props {}}})
Calls Form.create() decorator with the form to be created. form can be any hiccup form. Accepts the following options:
:options - map of Form.create() options. Refer to: https://ant.design/components/form/#Form.create(options) for details :props - map of props to be provided to the form component
Calls Form.create() decorator with the form to be created. form can be any hiccup form. Accepts the following options: :options - map of Form.create() options. Refer to: https://ant.design/components/form/#Form.create(options) for details :props - map of props to be provided to the form component
(decorate-field form id field)
(decorate-field form id options field)
Decorate a form field, corresponds to antd's getFieldDecorator() function Arguments:
form
object, obtained from (get-form)
For more information about the validation options, please refer to: https://ant.design/components/form/#getFieldDecorator(id,-options)-parameters
Decorate a form field, corresponds to antd's getFieldDecorator() function Arguments: * form - the `form` object, obtained from `(get-form)` * id - field identifier, supports nested fields format in string format * options - the validation options for the field * field - the input field element that the validation will be applied to For more information about the validation options, please refer to: https://ant.design/components/form/#getFieldDecorator(id,-options)-parameters
(get-form)
Returns the form
created by Form.create(). This function must be called
from within the form
component
Returns the `form` created by Form.create(). This function must be called from within the `form` component
(validate-fields-and-scroll form__981__auto__ & args__982__auto__)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close