How to Update Fw-select-options dynamically?

Hello,
I try to load the options of fw-select from Javascript dynamically, but this scenario did not work sometimes
and I don’t know where it is wrong, Am attaching a screenshot below



I have used 3.4 beta cdn

here by using the id of a select field am trying to load the options as array
eg: document.querySelector("#" + id).options = optionsArray;

Sometimes options is populating, sometimes it does not
Don’t know where it is breaking, Kindly check and update

1 Like

Hi Deiviya Sivacoumar, Try using the version 3.4.2 It works fine here - Web Platform (forked) - StackBlitz

1 Like

The issue is due to the fw-select-option is passed along with the option prop. Removing it fix the issue.

1 Like