Skip to content

Commit

Permalink
Make externally provided errors work with paper-autocomplete (#795)
Browse files Browse the repository at this point in the history
Pass isTouched from paper-autocomplete to paper-autocomplete-trigger
and its inner paper-input.
  • Loading branch information
lucacorti authored and miguelcobain committed Sep 28, 2017
1 parent 20aee99 commit 3a5f301
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions addon/templates/components/paper-autocomplete-trigger.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
label=extra.label
value=text
flex=true
isTouched=(readonly isTouched)
required=(readonly required)
passThru=(readonly passThru)
validationErrorMessages=(readonly validationErrorMessages)
Expand Down
1 change: 1 addition & 0 deletions addon/templates/components/paper-autocomplete.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
disabled=disabled
buildSelection=(readonly buildSelection)
extra=(readonly extra)
isTouched=(readonly isTouched)
listboxId=(readonly optionsId)
onFocus=(action "onFocus")
activate=(action "activate")
Expand Down

0 comments on commit 3a5f301

Please sign in to comment.