Mobile & Desktop usage

Use the select/combobox for both mobile and desktop or set it up responsively.

The main difference between the two rendering modes is how the picker is laid out. Set the touchUi option to false and the component shows up suitable for larger screens and pointer interaction while setting it to true renders it suitable for touch screens.

Use it on an existing form field, custom input, native select or use it on Mobiscroll form fields. You can also embed it directly into your page. When linked to an input, the component will be shown on focus or when someone clicks on the field. Alternatively, you can leave the input editable and show the component only on a button click.

Handle different screen sizes by setting it up responsively  Check out the responsive demo →
Download and try example

Demo

html<input id="my-input" />
<select id="native-select">
    <option value="atl">Atlanta</option>
    <option value="ber">Berlin</option>
    <option value="chi">Chicago</option>
    <option value="lon">London</option>
</select>
jsmobiscroll.select('#native-select', {
    inputElement: document.getElementById('my-input'),
    touchUi: 
});
html<input id="my-input" />
<select id="button-select">
    <option value="atl">Atlanta</option>
    <option value="ber">Berlin</option>
    <option value="chi">Chicago</option>
    <option value="lon">London</option>
</select>
<button id="show-picker">Show picker</button>
jsvar picker = mobiscroll.select('#button-select', {
    inputElement: document.getElementById('my-input'),
    touchUi: ,
    showOnClick: false,
    showOnFocus: false
});
document
    .getElementById('show-picker')
    .addEventListener('click', function () {
        picker.open();
        return false;
    });
html<label><input mbsc-input id="my-input" /></label>
<select id="mobi-select">
    <option value="atl">Atlanta</option>
    <option value="ber">Berlin</option>
    <option value="chi">Chicago</option>
    <option value="lon">London</option>
</select>
jsmobiscroll.select('#mobi-picker', {
    touchUi: 
});
html<select id="inline-picker">
    <option value="atl">Atlanta</option>
    <option value="ber">Berlin</option>
    <option value="chi">Chicago</option>
    <option value="lon">London</option>
</select>
jsmobiscroll.select('#inline-picker', {
    display: 'inline',
    touchUi: 
});
Use the picker with any inputs & show on focus/click
Disable onClick/onFocus and only show on button
Use the picker with a Mobiscroll input

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.