Question T8423
Visible to All Users

How to fill dropdown from localstorage?

created 3 years ago

Hello,
We are using surveyjs forms into PWA project.
In Dropdown question, currently we are using Choices from Web to fill the data.
Is there any way to fill from localstorage?

Answers approved by surveyjs Support

created 3 years ago

Hello,
You can always set "question.choices" property. Here is the example..

Thank you,
Andrew
SurveyJS Team