Skip to content

Commit

Permalink
(fix): editor placeholder not being removed when text is entered
Browse files Browse the repository at this point in the history
  • Loading branch information
markharding committed Jan 24, 2017
1 parent bbf0e10 commit 2ed469e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/common/components/textarea.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Component, ElementRef, Input, Output, EventEmitter, ViewChild, OnChange
(paste)="change()"
></div>
<span
*ngIf="placeholder && model.length === 0"
*ngIf="placeholder && editor.innerText.length === 0"
class="m-placeholder"
>{{ placeholder }}</span>
`
Expand Down

0 comments on commit 2ed469e

Please sign in to comment.