Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
ons-select style
-
The ons-select, does not really look like a select box on android or in material design.
-
@ChrSveistrup which version of Onsen UI are you using? The
ons-select
component was added in version2.1.0
-
I’m looking at the framework for potential use in a project.
I loaded the ons-select in the tutorial application.
http://tutorial.onsen.io/?framework=vanilla&category=reference&module=selectThe elements that drop down, when using the select are pretty small, so not really touch friendly in size.
-
@ChrSveistrup The dropdown is part of a native
<select>
element, there is no need to style that. When you see it on mobile devices, it will be displayed as a native select for that platform.
-
Ok. Thank you for clarifying.
On android it pops up an overlay selection. Do you know if there is any way to make it behave like a material menu?
Haven’t found an Onsen component that can be used for that.
-
@ChrSveistrup
ons-popover
is what you are looking for. You can add thecover-target
attribute to display it over the button optionally.
-
Thank you! Yes that was what i was looking for.