Fix typo
This commit is contained in:
parent
52d5263b86
commit
abfe467382
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
spec js-object?
|
||||
& {:keys [deserializer optional]
|
||||
:or {deserializer identity optional false}} dom-function-parameter]
|
||||
(let [content (get-deserialized-content name :optional optional :deserializer deserializer)]
|
||||
(let [content (get-content-from-element name :optional optional :deserializer deserializer)]
|
||||
(if (or (and optional (st/blank? content))
|
||||
(s/valid? spec content))
|
||||
(set-validation-result! name "")
|
||||
|
|
Loading…
Reference in a new issue