-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
model with previus data not showing correctly #33
Comments
any help on this? |
@drtobal sure, but I can't debug code I can't see :) |
This dirty fix make it work on ASFM 1.0.0-alpha.1 with ASF 1.0.0-alpha.4 : $rootScope.$on('sf-render-finished', (event, el) => {
$timeout(() => {
el[0].querySelectorAll('md-input-container').forEach((input) => {
if (angular.element(input).scope().ngModel.$viewValue) {
input.classList.add('md-input-has-value');
}
});
});
}); |
@de-luca note that using |
Hi,
I am creating a form with only inputs of text, and is working ok. but when I put a model with data previusly loaded, the text int the input don't show correctly, but if I click the input, then the text is showed.
How can I fix this?
Thanks!!.
The text was updated successfully, but these errors were encountered: