removed onblur from html
This commit is contained in:
parent
0914856fad
commit
d9a1b53596
1 changed files with 4 additions and 6 deletions
|
@ -102,10 +102,9 @@
|
||||||
(defn generate-input-field
|
(defn generate-input-field
|
||||||
[id
|
[id
|
||||||
label
|
label
|
||||||
default-value
|
default-value]
|
||||||
project-file-path]
|
|
||||||
[(generate-label id label)
|
[(generate-label id label)
|
||||||
{:type :element :attrs {:class "form-control" :type "text" :name id :id id :value default-value :onblur (str project-file-path ".validate_all_BANG_()")} :tag :input :content nil}
|
{:type :element :attrs {:class "form-control" :type "text" :name id :id id :value default-value} :tag :input :content nil}
|
||||||
(generate-feedback-tag id)
|
(generate-feedback-tag id)
|
||||||
(generate-br)])
|
(generate-br)])
|
||||||
|
|
||||||
|
@ -113,10 +112,9 @@
|
||||||
[id
|
[id
|
||||||
label
|
label
|
||||||
default-value
|
default-value
|
||||||
rows
|
rows]
|
||||||
project-file-path]
|
|
||||||
[(generate-label id label)
|
[(generate-label id label)
|
||||||
{:type :element :attrs {:name id :id id :class "form-control" :rows rows :onblur (str project-file-path ".validate_all_BANG_()")} :tag :textarea :content [default-value]}
|
{:type :element :attrs {:name id :id id :class "form-control" :rows rows} :tag :textarea :content [default-value]}
|
||||||
(generate-feedback-tag id)
|
(generate-feedback-tag id)
|
||||||
(generate-br)])
|
(generate-br)])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue