Skip to content

Commit

Permalink
Merge pull request #83 from BrightspaceUI/support-autocomplete-hybrid
Browse files Browse the repository at this point in the history
adding support for the autocomplete attribute to text inputs
  • Loading branch information
dlockhart authored May 7, 2019
2 parents cc7ac0f + 6087508 commit 019b22f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions d2l-input-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
aria-invalid$="[[ariaInvalid]]"
aria-label$="[[ariaLabel]]"
aria-labelledby$="[[ariaLabelledby]]"
autocomplete="[[autocomplete]]"
autofocus$="[[autofocus]]"
class="d2l-input d2l-focusable"
disabled$="[[disabled]]"
Expand Down Expand Up @@ -65,6 +66,13 @@
ariaDescribedby: {
type: String
},
/**
* On "text" or "number" input types, allows user agent to provide
* automated assistance filling out forms. [Supported values](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
*/
autocomplete: {
type: String
},
/**
* List of pre-defined options to suggest to the user. The value must be the id of a <datalist> element in the same document.
*/
Expand Down

0 comments on commit 019b22f

Please sign in to comment.