angular-shims-placeholder

Placeholder polyfill for IE9, IE8, IE7, and others. Written in AngularJS.

For this demo, browser placeholders are hidden, and the polyfill is force enabled. Usually, it would only be active in browsers that don't support the placeholder attribute. Visit the repo for more information.

Fork me on GitHub
Separate models
Shared model
No model
Pre-filled by model
No model, pre-filled by value

Key: empty ng-dirty ng-invalid


Separate models, no placeholder (for reference)
Shared model, no placeholder (for reference)

ngDisabled
Disabled attribute
Pre-filled by model with ngDisabled
No model, pre-filled by value with disabled attribute

ngReadonly
Pre-filled by model with ngReadonly

ngRequired
Pre-filled by model with ngRequired

ngShow/ngHide password stress test
ngShow
ngHide
ngShow prefilled
ngHide prefilled

Dynamic placeholder
No model, change placeholder manually

ngAttrPlaceholder

As template, pre-filled by model