LHNCBC / lforms

See the project website at http://lhncbc.github.io/lforms/, or view the demo website at https://lhcforms.nlm.nih.gov/lhcforms.
Other
107 stars 56 forks source link

How to pre-populate values setting lhcFormData trough LhcDataService #136

Closed johacontrerascloudx closed 1 year ago

johacontrerascloudx commented 1 year ago

I am trying to pre-load some suggested values into the questionnaire that come internally from Angular and I am setting it after the questionnaire is displayed, if someone selects to choose my suggestions I set the item.value and then set lhcFormData through the LhcDataService but no It is reloading the view, if I manually hide and show these questions on the parent I can see that they are loaded with the values, is there a way to do this?