(invalid-attribute-value?
{:com.fulcrologic.rad.form/keys [form-instance master-form] :as env}
attribute)Returns true if the given attribute is invalid in the given form env context. This is meant to be used in UI
functions, not resolvers/mutations. If there is a validator defined on the form it completely overrides all
attribute validators.
Returns true if the given `attribute` is invalid in the given form `env` context. This is meant to be used in UI functions, not resolvers/mutations. If there is a validator defined on the form it completely overrides all attribute validators.
(validation-error-message
{:com.fulcrologic.rad.form/keys [form-instance master-form] :as env}
{:keys [:com.fulcrologic.rad.form/validation-message
:com.fulcrologic.rad.attributes/qualified-key]
:as attribute})Get the string that should be shown for the error message on a given attribute in the given form context.
Get the string that should be shown for the error message on a given attribute in the given form context.
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 |