Liking cljdoc? Tell your friends :D

clj-simple-form.fields

Functions for creating pre-populated form fields.

Options for fields

  • :input-html: HTML attributes for the input element. Defaults to {}.
  • :value: Value for the field. Defaults to value for field in current scope.
Functions for creating pre-populated form fields.

### Options for fields

* `:input-html`: HTML attributes for the input element. Defaults to `{}`.
* `:value`: Value for the field. Defaults to value for field in current scope.
raw docstring

clj-simple-form.form-scope

Functions for managing scope for field errors and values.

Functions for managing scope for field errors and values.
raw docstring

clj-simple-form.helpers

Functions for generating miscellaneous form elements.

Functions for generating miscellaneous form elements.
raw docstring

clj-simple-form.i18n

Functions for translating form contents, such as labels.

Functions for translating form contents, such as labels.
raw docstring

clj-simple-form.input

Functions for generating input components with labels and input elements.

Options for inputs

  • :error: Error message for the field. Defaults to error for field in current scope..
  • :hint: Hint for the field. Defaults to nil.
  • :input-html: HTML attributes for the input element. Defaults to {}.
  • :label: Label text. Defaults to translation.
  • :label-html: HTML attributes for the label element. Defaults to {}.
  • :value: Value for the field. Defaults to value for field in current scope.
  • :wrapper-html: HTML attributes for the wrapper element. Defaults to {}.
Functions for generating input components with labels and input elements.

### Options for inputs

* `:error`: Error message for the field. Defaults to error for field in
  current scope..
* `:hint`: Hint for the field. Defaults to nil.
* `:input-html`: HTML attributes for the input element. Defaults to `{}`.
* `:label`: Label text. Defaults to translation.
* `:label-html`: HTML attributes for the label element. Defaults to `{}`.
* `:value`: Value for the field. Defaults to value for field in current scope.
* `:wrapper-html`: HTML attributes for the wrapper element. Defaults to `{}`.
raw docstring

clj-simple-form.util

Utility functions for the clj-simple-form library.

Utility functions for the `clj-simple-form` library.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close