angular-schema-form-material icon indicating copy to clipboard operation
angular-schema-form-material copied to clipboard

Inputs doesn't show model values until click in input

Open hugoalexmartins opened this issue 7 years ago • 1 comments

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 avatar Aug 13 '18 13:08 hugoalexmartins

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

Anthropic avatar Aug 22 '18 04:08 Anthropic