framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.04k stars 3.23k forks source link

Description in Smart Select #4125

Closed kumar-dinesh closed 1 year ago

kumar-dinesh commented 1 year ago

If description element can be added to Smart Select would be really nice.

It can be achieved by using data-description attribute on option attribute and then elements be populated on initialisation.

Screenshot 2023-01-17 at 11 01 30 AM
Simone4e commented 1 year ago

Actually you can already do it you have to use renderItems here's an live example

kumar-dinesh commented 1 year ago

That's what I was looking for