You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
I'm trying to dynamically compile material directives. It works, but for some reason, doesn't get the md-input-has-value attribute set, even though my inputs have a value set.
My input correctly gets the material styles, but since the md-input-has-value attribute isn't set, the value isn't displayed unless the input gets the focus.
Maybe I am missing something ?
The text was updated successfully, but these errors were encountered:
@warpdesign This looks very similar to #2162 which effects both IE and Firefox. Which browser were you seeing this problem in? Does #3582 fix it for you?
@ThomasBurleson this is more than a low priority to my project, I'm adding an md-input-container with an input inside to a dynamically generated form and while the data then works I've had to add the following to get it to detect the init state:
ng-class="{'md-input-has-value': model.value}"
I'd prefer a solution more long term prior to releasing the Material version of the form generator I'm working on to end users.
I'm trying to dynamically compile material directives. It works, but for some reason, doesn't get the
md-input-has-value
attribute set, even though my inputs have a value set.Maybe I'm doing something wrong ?
Here is an example:
My input correctly gets the material styles, but since the
md-input-has-value attribute
isn't set, the value isn't displayed unless the input gets the focus.Maybe I am missing something ?
The text was updated successfully, but these errors were encountered: