(generate-validation-message element validator-message)
Generate validation message
Generate validation message
(validate-field input-element is-valid & [validator])
Read validation attributes of particular fields
validator-fn (fn [input-elem] (let [input-value (md/get-value-as-number input-elem)] (if (= input-value 888) "" "Number is not 888")) )
Read validation attributes of particular fields validator-fn (fn [input-elem] (let [input-value (md/get-value-as-number input-elem)] (if (= input-value 888) "" "Number is not 888")) )
(validate-input evt-p element event)
Validate input that happened on field
Validate input that happened on field
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close