Describe the bug
Trying to pass a simple array of strings into options throws error
Edit: I noticed that every other time, it works - on the first select of an option, the error appears and the dropdown closes. THe second time, it selects the option properly. After that, it works fine every time, until I clear the selection. When the selection is cleared, the first time I select an option, the same thing happens - the "getOptionKey" function detects the incoming option as an object - it should just be a string. Possible issue related to "typeof null" being an object.
Steps To Reproduce
Basic code:
<v-select :options="['Manager', 'Supervisor']" />
Trying to select an option gives error in devtools: could not stringify this option:
Expected behavior
Simply select 1 of two options without needing to make it an array of objects
Describe the bug Trying to pass a simple array of strings into options throws error
Edit: I noticed that every other time, it works - on the first select of an option, the error appears and the dropdown closes. THe second time, it selects the option properly. After that, it works fine every time, until I clear the selection. When the selection is cleared, the first time I select an option, the same thing happens - the "getOptionKey" function detects the incoming option as an object - it should just be a string. Possible issue related to "typeof null" being an object.
Steps To Reproduce Basic code:
<v-select :options="['Manager', 'Supervisor']" />
Trying to select an option gives error in devtools: could not stringify this option:
Expected behavior Simply select 1 of two options without needing to make it an array of objects