Skip to content
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

Inputs doesn't show model values until click in input #37

Open
hugoalexmartins opened this issue Aug 13, 2018 · 1 comment
Open

Inputs doesn't show model values until click in input #37

hugoalexmartins opened this issue Aug 13, 2018 · 1 comment

Comments

@hugoalexmartins
Copy link

hugoalexmartins commented Aug 13, 2018

The form doesn't show values of model until click input.

After some investigation I saw that the element md-input-container doesn't have the css class md-input-has-value when the field has value from model.

Also, some of the options like fieldAddonLeft are not available in the templates of the inputs.
The decorator needs to be updated with the new options.

Here is my plunker to demonstrate what I am saying: https://plnkr.co/edit/835TaC61a6O88r7TDuOM?p=preview

Scott added a name to the form, swapped to bootstrap, and moved the titleMaps to the UI form schema from the JSON schema to indicate that it does look like material needs to be updated.
https://plnkr.co/edit/2C1HOB3o9Do8jUVo3Hau?p=preview

@hugoalexmartins hugoalexmartins changed the title Form doesn't show model values until click in input Inputs doesn't show model values until click in input Aug 13, 2018
@Anthropic
Copy link
Member

Hey @hugoalexmartins is this the same as #25 if so can you try the suggested solution in that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants