Added utility options

This commit is contained in:
2018-09-28 10:52:33 -05:00
parent fb404e8f3e
commit 5daa70f5ae
3 changed files with 19 additions and 3 deletions
@@ -4,9 +4,9 @@ if label
else
if labelPath
label= t labelPath
one-way-input value=(get changeset attribute) update=(action (mut (get changeset attribute))) onblur=(action 'validateProperty' changeset attribute) disabled=disabled onenter='inputEnter'
one-way-input value=(get changeset attribute) update=(action 'setAttribute') onblur=(action 'validateProperty' changeset attribute) disabled=disabled onenter='inputEnter'
if (get changeset.error attribute)
each (get (get changeset.error attribute) 'validation') as |error|
.ui.pointing.red.basic.label= error
.ui.pointing.red.basic.label class=errorDirection
= error