+ Start a Discussion
apoorva pandeyapoorva pandey 

Issue with lightning:select- the selected value disappears from the UI as soon as i click save button.

Hi All,  I am using lightning:select in my component however, when I click save the value just disappears.Its a custom field and I am using controller to fetch the values and stoting it in an attribute. The value is getting save as when i execute a query I can see the selected value.But in the UI the first option in the dropdown get selected.

But when I replace lightning:select with lightning:combobox and rest logic is same it works fine. But combobox has its disadvantages i.e,  we have to scroll down if the dropdown options are more so I cannot use it. I tried every solution but still unable to resolve lightning:select issue.
Can anyone please help me here?