Skip to content

Commit

Permalink
Merge pull request #121 from flyrev/patternInput
Browse files Browse the repository at this point in the history
Support pattern and title for input
  • Loading branch information
GCorbel authored Jun 18, 2016
2 parents f1b2d07 + 39179cd commit 0fa6817
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addon/components/em-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export default FormGroupComponent.extend({
name: null,
placeholder: null,
required: null,
title: null,
pattern: null,
autofocus: null,
readonly: null,
autoresize: null,
Expand Down
2 changes: 2 additions & 0 deletions addon/templates/components/html-input.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
class=(concat "form-control " mainComponent.elementClass)
id=mainComponent.id
required=mainComponent.required
title=mainComponent.title
pattern=mainComponent.pattern
autofocus=mainComponent.autofocus
readonly=mainComponent.readonly
autoresize=mainComponent.autoresize
Expand Down

0 comments on commit 0fa6817

Please sign in to comment.