useNativeControl

LANSA WAM

useNativeControl

Specifies whether the browser should display the select menu using its own UI or if jQuery Mobile should provide the UI. Letting the browser display its own UI provides a user experience that is specific to the device and familiar to the user. Letting jQuery Mobile display the UI provides a user experience that is themeable and consistent across all devices.

Support for multiple selections is inconsistent among different browsers so, if your menu supports multiple selections, you may need to set this property to False.

Keep in mind that there is overhead involved in parsing the native select to build a custom menu. If there are a lot of selects on a page, or a select has a long list of options, this can impact the performance of the page, so we recommend using custom menus sparingly.

Default value

True

Valid Values

True, False, or any valid XPath expression that returns a boolean value.