Skip to content

Commit

Permalink
fix(collections): add iron control to paper-textarea
Browse files Browse the repository at this point in the history
Fixes #35
  • Loading branch information
hotforfeature committed Jun 21, 2017
1 parent 64ee2e6 commit 66a75da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collections/paper-elements/paper-input-controls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const PAPER_INPUT_CONTROL_VALUE_ACCESSOR: Provider = {
};

@Directive({
selector: `paper-checkbox, paper-input, paper-listbox, paper-radio-button, paper-radio-group,
paper-toggle-button`,
selector: `paper-checkbox, paper-input, paper-textarea, paper-listbox, paper-radio-button,
paper-radio-group, paper-toggle-button`,
providers: [PAPER_INPUT_CONTROL_VALUE_ACCESSOR]
})
export class PaperInputControl extends IronControlDirective { }
1 change: 1 addition & 0 deletions src/templates/polymer-template.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if ('content' in document.createElement('template')) {
// appended to it instead of its #document-fragment
// https://github.com/angular/angular/issues/15557
const nativeAppend = HTMLTemplateElement.prototype.appendChild;
// tslint:disable-next-line:only-arrow-functions
HTMLTemplateElement.prototype.appendChild = function(childNode: Node) {
return this.content.appendChild(childNode);
};
Expand Down

0 comments on commit 66a75da

Please sign in to comment.