Skip to content

Commit

Permalink
Merge pull request #86 from RNCRyan/master
Browse files Browse the repository at this point in the history
Added support for HTML5 datalists
  • Loading branch information
Yvonne Yip committed Jun 19, 2015
2 parents 92b3c42 + c880ae9 commit 37afce7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions paper-input-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@
type: String
},

/**
* The datalist of the input (if any). This should match the id of an existing <datalist>. Bind this
* to the `<input is="iron-input">`'s `list` property.
*/
list: {
type: String
},

/**
* A pattern to validate the `input` with. Bind this to the `<input is="iron-input">`'s
* `pattern` property.
Expand Down
1 change: 1 addition & 0 deletions paper-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
name$="[[name]]"
placeholder$="[[placeholder]]"
readonly$="[[readonly]]"
list$="[[list]]"
size$="[[size]]">

<template is="dom-if" if="[[errorMessage]]">
Expand Down

0 comments on commit 37afce7

Please sign in to comment.