framework7
framework7 copied to clipboard
smartSelect Bug preview value with one option
- Framework7 version: 8.1.0
- Platform and Target: All
- Live Link or CodeSandbox: https://codesandbox.io/p/sandbox/amazing-kirch-55kg6s?file=%2Fsrc%2Fpages%2Fhome.f7.html%3A32%2C32
Describe the bug
The bug happens when you open a smartSelect and close it without selecting anything, getValue() will return the value but in the preview there will be nothing. I added a line in the close function to solve the problem (just uncomment to see the correct result)
To be correct it should not select any option unless pre-selected with selected or selected by the user