Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

IE10 Expression in placeholder attr causes input to be dirty #4781

Closed
sngan opened this issue Nov 4, 2013 · 5 comments
Closed

IE10 Expression in placeholder attr causes input to be dirty #4781

sngan opened this issue Nov 4, 2013 · 5 comments

Comments

@sngan
Copy link

sngan commented Nov 4, 2013

Hi all,

http://jsfiddle.net/S73bF/

In IE10, when you have a {{ }} expression in the placeholder attribute of an input (in example, a textarea), it is getting marked as dirty before user interacts with it.

Thanks,
Sun

@snekbaev
Copy link

yeah, ran into the same problem, thought using IE11 (didn't test in other browsers), I'm using expression filter for localization texts and now all my fields are dirty :)
thank you :)

@jessezhang91
Copy link

I'm getting this behavior as well for IE11. It's fine for IE9 though since placeholder isn't working for it.

@jamie-pate
Copy link

Fixed by #5960 ?

@btford btford removed the gh: issue label Aug 20, 2014
@havenchyk
Copy link

@sngan just use ng-attr-placeholder https://docs.angularjs.org/guide/directive#-ngattr-attribute-bindings. I guess the problem can be closed.

@Narretz
Copy link
Contributor

Narretz commented Sep 4, 2015

This is fixed in 1.4. For 1.2, there's always the ng-attr-placeholder workaround.

@Narretz Narretz closed this as completed Sep 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants