Select for React

Learn about Select

Advanced select component for single and multiple value selection. Provides a great alternative to the native dropdown with enhanced UX.
Can be used on mobiscroll form elements or on any input, select and field.

Shipping with useful features:

  • Single or multiple value selection
  • Group header and list segmentation
  • On demand rendering for long lists
  • Built in support for invalids and un-selectable values
  • Filtering and autocomplete with type ahead
  • Circular wheels
  • Multiple theme support
  • Modal, popup and inline display support
  • RTL Support
  • Full localization


Interested in scroller controls? Other demos that could be useful:

Treelist Image scroller Scroller


Select demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Select - Basic usage

Change demo
Basic usage
React Select scroller demo. Great for single value select in dropdowns. With native look & feel, improved UX and source. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            items: [{
                value: 1,
                text: 'Atlanta'
            }, {
                value: 2,
                text: 'Berlin'
            }, {
                value: 3,
                text: 'Boston'
            }, {
                value: 4,
                text: 'Chicago'
            }, {
                value: 5,
                text: 'London'
            }, {
                value: 6,
                text: 'Los Angeles'
            }, {
                value: 7,
                text: 'New York'
            }, {
                value: 8,
                text: 'Paris'
            }, {
                value: 9,
                text: 'San Francisco'
            }],
            val: 1
        };
        
        this.show = this.show.bind(this);
    }
    
     show () {
         this.refs.external.instance.show();
     }

    render () {
        return (
            <div>
             <mobiscroll.Form>
                    <div className="mbsc-align-center">
                        <div className="mbsc-note mbsc-note-primary">The select can be used inside a mobiscroll form or on any element.</div>
                    </div>
                    <mobiscroll.FormGroup>
    					<mobiscroll.FormGroupTitle>Inside Mobiscroll Form</mobiscroll.FormGroupTitle>
    					<label>
    					    Select
                            <mobiscroll.Select
                                minWidth={200}
                                value={this.state.value}
                                data={this.state.items}
                            >
                            </mobiscroll.Select>
                        </label>
                        <label>
    					    Header text
                            <mobiscroll.Select
                                minWidth={200}
                                value={this.state.value}
                                data={this.state.items}
                                headerText="Pick location"
                            >
                            </mobiscroll.Select>
                        </label>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup className="mbsc-padding">
                        <p className="mbsc-thin">Use it on any input or non-mobiscroll form.</p>
                    </mobiscroll.FormGroup>
                </mobiscroll.Form>
                <div className="demo-container">
                    <label htmlFor="demo-non-form">Select</label>
                    <mobiscroll.Select
                        minWidth={200}
                        value={this.state.value}
                        data={this.state.items}
                        inputClass="demo-non-form"
                    >
                        <input id="demo-non-form" />
                    </mobiscroll.Select>
                    <label htmlFor="demo-external">External button</label>
                    <div className="external-container">
                        <mobiscroll.Select
                            ref="external" 
                            minWidth={200}
                            value={this.state.value}
                            data={this.state.items}
                            inputClass="demo-non-form"
                            showOnTap={false}
                            showOnFocus={false}
                        >
                            <input id="demo-external" />
                        </mobiscroll.Select>
                        <button onClick={this.show} className="external-button">Show</button>
                    </div>
                </div>
            </div>
        );
    }    
}

<div id="content"></div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.demo-container {
    padding: 0 1em;
}

.external-container {
    display: flex;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 12px 16px;
}

Select - Multiple select

Change demo
Multiple select
React Multiple select demo for product or category filtering. Visible selection with check mark in picker control. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Multiple select</mobiscroll.FormGroupTitle>
                    <label>
                        Multi-select
                        <mobiscroll.Select
                            ref="select"
                            select="multiple"
                            name="Category"
                            minWidth={200}
                            value={[3,4]}
                        >
                            <option value="1">Books</option>
                            <option value="2">Movies, Music & Games</option>
                            <option value="3">Electronics & Computers</option>
                            <option value="4">Home, Garden & Tools</option>
                            <option value="5">Health & Beauty</option>
                            <option value="6">Toys, Kids & Baby</option>
                            <option value="7">Clothing & Jewelry</option>
                            <option value="8">Sports & Outdoors</option>
                            <option value="9">Automotive & Industrial</option>
                        </mobiscroll.Select>
                    </label>
                    <label>
                        Group
                        <mobiscroll.Select
                            ref="select"
                            select="multiple"
                            label="Name"
                            width={[50, 270]}
                            group={true}
                            groupLabel="&nbsp;"
                            value={[1,2,9,196,200,1008,1009]} 
                        >
                            <optgroup label="A">
                                <option value="0">Adaline Shiver</option>
                                <option value="1">Adella Cornell</option>
                                <option value="2">Adolph Scriber</option>
                                <option value="3" disabled>Adrianna Merritt</option>
                                <option value="4" disabled>Adrianne Marotta</option>
                            </optgroup>
                            <optgroup label="B">
                                <option value="78">Barbara Mackay</option>
                                <option value="79">Barbera Phu</option>
                                <option value="80">Barbie Kaczorowski</option>
                                <option value="81">Barney Flurry</option>
                                <option value="82">Beatriz Remer</option>
                            </optgroup>
                            // Showing partial data. Download full source.
                        </mobiscroll.Select>
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Select - Group options

Change demo
Group options
React Select with group options and headers rendered as a hierarchy. With native look & feel, improved UX and source code. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Group options</mobiscroll.FormGroupTitle>
                    <label>
                        Group select
                        <mobiscroll.Select
                            ref="select"
                        >
                            <optgroup label="USA">
                                <option value="1">Atlanta</option>
                                <option value="2">Boston</option>
                                <option value="3">Chicago</option>
                                <option value="4">Los Angeles</option>
                                <option value="5">New York</option>
                                <option value="6">San Francisco</option>
                            </optgroup>
                            <optgroup label="UK">
                                <option value="7">Bath</option>
                                <option value="8">Bristol</option>
                                <option value="9">Cambridge</option>
                                <option value="10">London</option>
                                <option value="11">Leeds</option>
                                <option value="12">Manchester</option>
                                <option value="13">Newcastle</option>
                                <option value="14">Oxford</option>
                            </optgroup>
                            <optgroup label="China">
                                <option value="15">Beijing</option>
                                <option value="16">Chongqing</option>
                                <option value="17">Shanghai</option>
                                <option value="18">Shenzhen</option>
                                <option value="19">Tianjin</option>
                            </optgroup>
                        </mobiscroll.Select>
                    </label>
                    <label>
                        Group wheel
                        <mobiscroll.Select
                            ref="select"
                            group={true}
                            width={[100, 170]}
                        >
                            <optgroup label="USA">
                                <option value="1">Atlanta</option>
                                <option value="2">Boston</option>
                                <option value="3">Chicago</option>
                                <option value="4">Los Angeles</option>
                                <option value="5">New York</option>
                                <option value="6">San Francisco</option>
                            </optgroup>
                            <optgroup label="UK">
                                <option value="7">Bath</option>
                                <option value="8">Bristol</option>
                                <option value="9">Cambridge</option>
                                <option value="10">London</option>
                                <option value="11">Leeds</option>
                                <option value="12">Manchester</option>
                                <option value="13">Newcastle</option>
                                <option value="14">Oxford</option>
                            </optgroup>
                            <optgroup label="China">
                                <option value="15">Beijing</option>
                                <option value="16">Chongqing</option>
                                <option value="17">Shanghai</option>
                                <option value="18">Shenzhen</option>
                                <option value="19">Tianjin</option>
                            </optgroup>
                        </mobiscroll.Select>
                    </label>
                    <label>
                        Group
                        <mobiscroll.Select
                            ref="select"
                            select="multiple"
                            group={true}
                            width={[60, 250]}
                            value={[1,2,9,196,200,1008,1009]} 
                        >
                            <optgroup label="A">
                                <option value="0">Adaline Shiver</option>
                                <option value="1">Adella Cornell</option>
                                <option value="2">Adolph Scriber</option>
                                <option value="3" disabled>Adrianna Merritt</option>
                                <option value="4" disabled>Adrianne Marotta</option>
                            </optgroup>
                            <optgroup label="B">
                                <option value="78">Barbara Mackay</option>
                                <option value="79">Barbera Phu</option>
                                <option value="80">Barbie Kaczorowski</option>
                                <option value="81">Barney Flurry</option>
                                <option value="82">Beatriz Remer</option>
                            </optgroup>
                            // Showing partial data. Download full source.
                        </mobiscroll.Select>
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Select - Multilevel hierarchy

Change demo
Multilevel hierarchy
React Hierarchical select example with local or remote data. Dynamically populate linked lists based on previous selection. For React.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class SelectDemo extends React.Component {
    constructor(props) {
        super(props);
        this.emptyValue = { value: "", text: "", disabled: true };
        this.state = {
            regVal: '',
            regData: this.getData(),
            divVal: '',
            divData: [this.emptyValue],
            subVal: '',
            subData: [this.emptyValue]
        };
    }
    
    getData = (region, division) => {
        var arr,
            regions = [
                { value: 1, text: 'Northeast' },
                { value: 2, text: 'Midwest' },
                { value: 3, text: 'South' },
                { value: 4, text: 'West' }
            ],
            divisions = {
                1: [
                    { value: 1, text: 'New England' },
                    { value: 2, text: 'Mid-Atlantic' }
                ],
                2: [
                    { value: 3, text: 'East North Central' },
                    { value: 4, text: 'West North Central' }
                ],
                3: [
                    { value: 5, text: 'South Atlantic' },
                    { value: 6, text: 'East South Central' },
                    { value: 7, text: 'West South Central' }
                ],
                4: [
                    { value: 8, text: 'Mountain' },
                    { value: 9, text: 'Pacific' }
                ]
            },
            subdivisions = {
                1: [
                    { value: 1, text: 'Connecticut' },
                    { value: 2, text: 'Maine' },
                    { value: 3, text: 'Massachusetts' },
                    { value: 4, text: 'New Hampshire' },
                    { value: 5, text: 'Rhode Island' },
                    { value: 6, text: 'Vermont' }
                ],
                2: [
                    { value: 7, text: 'New Jersey' },
                    { value: 8, text: 'New York' },
                    { value: 9, text: 'Pennsylvania' }
                ],
                3: [
                    { value: 10, text: 'Illinois' },
                    { value: 11, text: 'Indiana' },
                    { value: 12, text: 'Michigan' },
                    { value: 13, text: 'Ohio' }
                ],
                4: [
                    { value: 14, text: 'Wisconsin' },
                    { value: 15, text: 'Iowa' },
                    { value: 16, text: 'Kansas' },
                    { value: 17, text: 'Minnesota' },
                    { value: 18, text: 'Missouri' },
                    { value: 19, text: 'Nebraska' },
                    { value: 20, text: 'North Dakota' },
                    { value: 21, text: 'South Dakota' }
                ],
                5: [
                    { value: 22, text: 'Delaware' },
                    { value: 23, text: 'Florida' },
                    { value: 24, text: 'Georgia' },
                    { value: 25, text: 'Maryland' },
                    { value: 26, text: 'North Carolina' },
                    { value: 27, text: 'South Carolina' },
                    { value: 28, text: 'Virginia' },
                    { value: 29, text: 'District of Columbia' },
                    { value: 30, text: 'West Virginia' }
                ],
                6: [
                    { value: 31, text: 'Alabama' },
                    { value: 32, text: 'Kentucky' },
                    { value: 33, text: 'Mississippi' },
                    { value: 34, text: 'Tennessee' }
                ],
                7: [
                    { value: 35, text: 'Arkansas' },
                    { value: 36, text: 'Louisiana' },
                    { value: 37, text: 'Oklahoma' },
                    { value: 38, text: 'Texas' }
                ],
                8: [
                    { value: 39, text: 'Arizona' },
                    { value: 40, text: 'Colorado' },
                    { value: 41, text: 'Idaho' },
                    { value: 42, text: 'Montana' },
                    { value: 43, text: 'Nevada' },
                    { value: 44, text: 'New Mexico' },
                    { value: 45, text: 'Utah' },
                    { value: 46, text: 'Wyoming' }
                ],
                9: [
                    { value: 47, text: 'Alaska' },
                    { value: 48, text: 'California' },
                    { value: 49, text: 'Hawaii' },
                    { value: 50, text: 'Oregon' },
                    { value: 51, text: 'Washington' }
                ]
            };

        if (division) {
            arr = subdivisions[division];
        } else if (region) {
            arr = divisions[region];
        } else {
            arr = regions;
        }

        arr = arr.slice(0);
        arr.unshift(this.emptyValue);

        return arr;
    }
    
    onRegSet = (ev, inst) => {
        var div = this.refs.div,
            sub = this.refs.sub;

        div.instance.settings.invalid.length = 0;
        sub.instance.settings.invalid.length = 0;
        div.instance.enable();
        sub.instance.disable();

        this.setState({
            regVal: inst.getVal(),
            divVal: '',
            subVal: ''
        });

        setTimeout(() => {
            this.setState({
                divData: this.getData(inst.getVal()),
                subData: [this.emptyValue]
            });
        });
    }
    
    onDivSet = (ev, inst) => {
        var sub = this.refs.sub;

        sub.instance.settings.invalid.length = 0;
        sub.instance.enable();

        this.setState({
            divVal: inst.getVal(),
            subVal: ''
        });

        setTimeout(() => {
            this.setState({
                divVal: inst.getVal(),
                subData: this.getData(null, inst.getVal())
            });
        });
    }
    
    onSubSet = (ev, inst) => {
        this.setState({
            subVal: inst.getVal()
        });
    }
    
    onRemoteRegSet = (ev, inst) => {
        var remoteDiv = this.refs.remoteDiv,
            remoteSub = this.refs.remoteSub;

        remoteDiv.instance.settings.invalid.length = 0;
        remoteSub.instance.settings.invalid.length = 0;
        remoteDiv.instance.settings.data.url = 'https://trial.mobiscroll.com/divisions/?reg=' + inst.getVal();
        remoteDiv.instance.enable();
        remoteSub.instance.disable();
       
       this.setState({
            remoteRegVal: inst.getVal(),
            remoteDivVal: '',
            remoteSubVal: ''
        });

        setTimeout(() => {
            remoteDiv.instance.refresh();
        });
    }
    
    onRemoteDivSet = (ev, inst) => {
        var remoteSub = this.refs.remoteSub;

        remoteSub.instance.settings.invalid.length = 0;
        remoteSub.instance.settings.data.url = 'https://trial.mobiscroll.com/subdivisions/?div=' + inst.getVal();
        remoteSub.instance.enable();
        
        this.setState({
            remoteDivVal: inst.getVal(),
            remoteSubVal: ''
        });

        setTimeout(() => {
            remoteSub.instance.refresh();
        });
    }
    
    onRemoteSubSet = (ev, inst) => {
        this.setState({
            remoteSubVal: inst.getVal()
        });
    }
    
    processResponse = (arr) => {
        arr.unshift(this.emptyValue);
        return arr;
    }
    
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Data object</mobiscroll.FormGroupTitle>
                    <mobiscroll.Select
                        name="reg"
                        ref="reg"
                        placeholder="Please Select..."
                        value={this.state.regVal}
                        data={this.state.regData}
                        onSet={this.onRegSet}
                    >
                        <mobiscroll.Input dropdown={true}>Region</mobiscroll.Input>
                    </mobiscroll.Select>
                    <mobiscroll.Select
                        name="div"
                        ref="div"
                        placeholder="Please Select..."
                        disabled={true}
                        value={this.state.divVal}
                        data={this.state.divData}
                        onSet={this.onDivSet}
                    >
                        <mobiscroll.Input dropdown={true} disabled={true}>Division</mobiscroll.Input>
                    </mobiscroll.Select>
                    <mobiscroll.Select
                        name="sub"
                        ref="sub"
                        placeholder="Please Select..."
                        disabled={true}
                        value={this.state.subVal}
                        data={this.state.subData}
                        onSet={this.onSubSet}
                    >
                        <mobiscroll.Input dropdown={true} disabled={true}>Subdivision</mobiscroll.Input>
                    </mobiscroll.Select>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Remote data</mobiscroll.FormGroupTitle>
                    <mobiscroll.Select
                        name="remoteReg"
                        ref="remoteReg"
                        placeholder="Please Select..."
                        value={this.state.remoteRegVal}
                        data={{
                            url: 'https://trial.mobiscroll.com/regions/',
                            dataType: 'jsonp',
                            processResponse: this.processResponse
                        }}
                        onSet={this.onRemoteRegSet}
                    >
                        <mobiscroll.Input dropdown={true}>Region</mobiscroll.Input>
                    </mobiscroll.Select>
                    <mobiscroll.Select
                        name="remoteDiv"
                        ref="remoteDiv"
                        placeholder="Please Select..."
                        disabled={true}
                        value={this.state.remoteDivVal}
                        data={{
                            url: 'https://trial.mobiscroll.com/divisions/',
                            dataType: 'jsonp',
                            processResponse: this.processResponse
                        }}
                        onSet={this.onRemoteDivSet}
                    >
                        <mobiscroll.Input dropdown={true} disabled={true}>Division</mobiscroll.Input>
                    </mobiscroll.Select>
                    <mobiscroll.Select
                        name="remoteSub"
                        ref="remoteSub"
                        placeholder="Please Select..."
                        disabled={true}
                        value={this.state.remoteSubVal}
                        data={{
                            url: 'https://trial.mobiscroll.com/subdivisions/',
                            dataType: 'jsonp',
                            processResponse: this.processResponse
                        }}
                        onSet={this.onRemoteSubSet}
                    >
                        <mobiscroll.Input dropdown={true} disabled={true}>Subdivision</mobiscroll.Input>
                    </mobiscroll.Select>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Select - Data source

Change demo
Data source
React Select scroller demo with various data sources: native html select, data objects and remote json data sources. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            selected: 1,
            selectedData: 1,
            items: [{
                value: 1,
                text: 'Atlanta'
            }, {
                value: 2,
                text: 'Berlin'
            }, {
                value: 3,
                text: 'Boston'
            }, {
                value: 4,
                text: 'Chicago'
            }, {
                value: 5,
                text: 'London'
            }, {
                value: 6,
                text: 'Los Angeles'
            }, {
                value: 7,
                text: 'New York'
            }, {
                value: 8,
                text: 'Paris'
            }, {
                value: 9,
                text: 'San Francisco'
            }]
        };
        
        this.set = this.set.bind(this);
        this.setData = this.setData.bind(this);
        this.setRemote = this.setRemote.bind(this);
    }

    set(event, inst) {
        this.setState({ selected: inst.getVal() });
    }
    
    setData(event, inst) {
        this.setState({ selectedData: inst.getVal() });
    }
    
    getData () {
        return {
            url: 'https://trial.mobiscroll.com/content/languages.json',
            type: 'json'
        }
    }
    
    setRemote(event, inst) {
        this.setState({ selectedRemote: inst.getVal() });
    }
    
    render(){
        
        // Make sure to run it on a web server when trying this demo locally!
        
        return (
            <mobiscroll.Form>
                <div className="mbsc-align-center">
                    <div className="mbsc-note mbsc-note-primary">The select scroller supports loading data from various sources.</div>
                </div>
                <mobiscroll.FormGroup>
    				<mobiscroll.FormGroupTitle>Data source</mobiscroll.FormGroupTitle>
    				<label>
    				    HTML
                        <mobiscroll.Select value={this.state.selected} onSet={this.set}>
                            <option value="1">Atlanta</option>
                            <option value="2">Berlin</option>
                            <option value="3">Boston</option>
                            <option value="4">Chicago</option>
                            <option value="5">London</option>
                            <option value="6">Los Angeles</option>
                            <option value="7">New York</option>
                            <option value="8">Paris</option>
                            <option value="9">San Francisco</option>
                        </mobiscroll.Select>
                    </label>
                    <label>
					    Data object
                        <mobiscroll.Select
                            value={this.state.selectedData}
                            data={this.state.items}
                            onSet={this.setData}
                        >
                        </mobiscroll.Select>
                    </label>
                    <label>
					    Remote data
                        <mobiscroll.Select
                            data={this.getData()}
                            onSet={this.setRemote}
                            placeholder="Please select..."
                            maxWidth={300}
                        >
                        </mobiscroll.Select>
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
    );
  }
}

<div id="content"></div>

Select - Large datasource

Change demo
Large datasource
React Select demo for contact list with 1000+ records. Render on demand and smooth scrolling with alphabetical ordering. For React.
class SelectDemo extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Select
                    ref="select"
                    theme=""
                    lang=""
                    label="Name"
                    width={[40, 270]}
                    group={true}
                    groupLabel="A-Z"
                >
                    <optgroup label="A">
                        <option value="0">Adaline Shiver</option>
                        <option value="1">Adella Cornell</option>
                        <option value="2">Adolph Scriber</option>
                        <option value="3">Adrianna Merritt</option>
                    </optgroup>
                    <optgroup label="B">
                        <option value="78">Barbara Mackay</option>
                        <option value="79">Barbera Phu</option>
                        <option value="80">Barbie Kaczorowski</option>
                        <option value="81">Barney Flurry</option>
                    </optgroup>
                    // Showing partial data. Download full source.
                </mobiscroll.Select>
            </div>
        );
    }    
}

<div id="content"></div>

Select - Setting values

Change demo
Setting values
React Select scroller demo with examples for programmatically setting values and defaults for single/multiple select. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    getCities = () => {
        return [{
            value: 1,
            text: 'Atlanta'
        }, {
            value: 2,
            text: 'Berlin'
        }, {
            value: 3,
            text: 'Boston'
        }, {
            value: 4,
            text: 'Chicago'
        }, {
            value: 5,
            text: 'London'
        }, {
            value: 6,
            text: 'Los Angeles'
        }, {
            value: 7,
            text: 'New York'
        }, {
            value: 8,
            text: 'Paris'
        }, {
            value: 9,
            text: 'San Francisco'
        }];
    }
    
    setLondon = () => {
        this.refs.inlineSelect.instance.setVal(5, true, true, false, 1000);
    }
    
    setParis = () => {
        this.refs.inlineSelect.instance.setVal(8, true, true, false, 1000);
    }
    
    render() {
        var autoButton = ['cancel'];
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Controlling the default value</mobiscroll.FormGroupTitle>
                    <label>
                        Default
                        <mobiscroll.Select data={this.getCities()} />
                    </label>
                    <label>
                        Custom default
                        <mobiscroll.Select data={this.getCities()} defaultValue={6} />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Setting a custom value</mobiscroll.FormGroupTitle>
                    <div className="mbsc-btn-group-block">
                        <button type="button" onClick={this.setLondon}>London</button>
                        <button type="button" onClick={this.setParis}>Paris</button>
                    </div>
                    <label>
                        <mobiscroll.Select
                            ref="inlineSelect"
                            data={this.getCities()}
                            display="inline"
                            showInput={false}
                        />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
					<mobiscroll.FormGroupTitle>Buttons API</mobiscroll.FormGroupTitle>
                    <label>
                        Custom
                        <mobiscroll.Select
                            data={this.getCities()}
                            select="multiple"
                            buttons={[
                                {
                                    text: 'Custom',
                                    handler: function (event, inst) {
                                        inst.setVal([3, 4, 7], true, true, false, 1000);
                                    }
                                },
                                'set',
                                'cancel'
                            ]}
                        />
                    </label>
                    <label>
                        Auto set
                        <mobiscroll.Select
                            data={this.getCities()}
                            select="multiple"
                            buttons={autoButton}
                        />
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

<div id="content"></div>

Select - RTL support

Change demo
RTL support
React Select Right-to-left rendering demo with group options for quick navigation. With full RTL language support and source. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    getNames = () => {
        return [{
                value: 0,
                group: 'A',
                text: 'Adaline Shiver'
            }, {
                value: 1,
                group: 'A',
                text: 'Adella Cornell'
            }, {
                value: 2,
                group: 'A',
                text: 'Adolph Scriber'
            },
            {
                value: 78,
                group: 'B',
                text: 'Barbara Mackay'
            }, {
                value: 79,
                group: 'B',
                text: 'Barbera Phu'
            }, {
                value: 80,
                group: 'B',
                text: 'Barbie Kaczorowski'
            }, {
                value: 81,
                group: 'B',
                text: 'Barney Flurry'
            },
            // Showing partial data. Download full source.
        ];
    }
    
    render() {
        return (
                <mobiscroll.Form rtl={true}>
                <mobiscroll.FormGroup>
                <mobiscroll.FormGroupTitle>RTL enabled by default</mobiscroll.FormGroupTitle>
                    <label>
                        Arabic
                        <mobiscroll.Select
                            lang="ar"
                            data={this.getNames()}
                            group={true}
                        />
                    </label>
                    <label>
                        Hebrew
                        <mobiscroll.Select
                            lang="he"
                            data={this.getNames()}
                            group={true}
                        />
                    </label>
                    <label>
                        Farsi
                        <mobiscroll.Select
                            lang="fa"
                            data={this.getNames()}
                            group={true}
                        />
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Manually set RTL</mobiscroll.FormGroupTitle>
                    <label>
                        RTL
                        <mobiscroll.Select
                            rtl={true}
                            data={this.getNames()}
                            group={true}
                        />
                    </label>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Select - Autocomplete

Change demo
Autocomplete
React Select auto-complete demo with filtering and type-ahead functionality. Load values from markup or remote JSON service. For React.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class SelectDemo extends React.Component {
    getData = () =>{
        return [
            {
                text: "Abigail Hodges",
                value: 1
            }, {
                text: "Adam Robertson",
                value: 2
            }, {
                text: "Adrian Mackay",
                value: 3
            }, {
                text: "Adrian Springer",
                value: 4
            },
            // Showing partial data. Download full source.
        ];
    }
    
    getRemoteData = () => {
       return {
            url: 'https://trial.mobiscroll.com/airports/',
            remoteFilter: true,
            dataType: 'jsonp',
            processResponse: function (data) {
                var i,
                    item,
                    ret = [];
    
                if (data) {
                    for (i = 0; i < data.length; i++) {
                        item = data[i];
                        ret.push({
                            value: item.code,
                            text: item.name,
                            html: '<div style="font-size:16px;line-height:18px;">' + item.name + '</div><div style="font-size:10px;line-height:12px;">' + item.location + ', ' + item.code + '</div>'
                        });
                    }
                }
    
                return ret;
            }
       }
    }
    
    render() {
        return (
            <div>
                <mobiscroll.Form>
                    <mobiscroll.FormGroup>
                        <mobiscroll.FormGroupTitle>Autocomplete</mobiscroll.FormGroupTitle>
                        <label>
                            Local data
                            <mobiscroll.Select
                                filter={true}
                                data={this.getData()}
                                placeholder="Please Select..."
                                
                            />
                        </label>
                        <label>
                            Remote data
                            <mobiscroll.Select
                                multiline={2}
                                height={50}
                                filter={true}
                                data={this.getRemoteData()}
                                placeholder="Please Select..."
                            />
                        </label>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup className="mbsc-padding">
                        <p className="mbsc-thin">Use it on any input or non-mobiscroll form.</p>
                    </mobiscroll.FormGroup>
                </mobiscroll.Form>
                <div className="demo-container">
                    <label>Select</label>
                    <mobiscroll.Select
                        theme=""
                        lang=""
                        multiline={2}
                        height={50}
                        data={this.getRemoteData()}
                        filter={true}
                        inputClass="demo-non-form"
                        placeholder="Please Select..."
                    />
                </div>
            </div>
        );
    }    
}

<div id="content"></div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.demo-container {
    padding: 0 1em;
}

Select - Multiline Select

Change demo
Multiline Select
React Select scroller style demo supporting long text rendered in multiple rows. With smooth scrolling and native look & feel. For React.
class SelectDemo extends React.Component {
    render() {
        return (
            <div>
                <mobiscroll.Select
                    ref="select"
                    theme=""
                    lang=""
                    multiline={3}
                    height={50}
                >
                    <option value="1">Percentage of assets covered by systematic risk assessments (>99)</option>
                    <option value="2">Number of personal vacancies in the security roles required for ISMS (Nil)</option>
                    <option value="3">Time taken to grant, change and remove access privileges (Max. 2 hours)</option>
                    <option value="4">Percentage of agents covered by an effective security awareness program (100%)</option>
                    <option value="5">Number of security access violations (<2)</option>
                    <option value="6">Number of emergency changes (<5)</option>
                    <option value="7">Number of security incidents involving malicious code (Max. 2)</option>
                    <option value="8">Number of systems where security requirements are not met (Max. 2)</option>
                    <option value="9">Average turnaround time of incidents (Max. 2 hours)</option>
                    <option value="10">Number of pending actions to meet response and recovery requirements (Max. 5)</option>
                    <option value="11">Number of scheduled internal audits not done (Max. 1)</option>
                    <option value="12">Number of scheduled penetration tests not done (Max. 1)</option>
                    <option value="13">Number of overdue actions arising out of audit reports (Max. 5)</option>
                    <option value="14">Number of changes not carried out as per change control procedure (Max. 1)</option>
                </mobiscroll.Select>
            </div>
        );
    }    
}

<div id="content"></div>

Select - Country Picker

Change demo
Country Picker
React Country picker scroller select for mobile/tablet. Alphabetical ordering, jump to value and filtering is supported. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            items: [{
                value: 'AF',
                group: 'A',
                text: 'Afghanistan'
            },
            {
                value: 'AL',
                group: 'A',
                text: 'Albania'
            },
            {
                value: 'DZ',
                group: 'A',
                text: 'Algeria'
            },
            {
                value: 'AD',
                group: 'A',
                text: 'Andorra'
            },
            {
                value: 'AO',
                group: 'A',
                text: 'Angola'
            },
            {
                value: 'AR',
                group: 'A',
                text: 'Argentina'
            },
            {
                value: 'AM',
                group: 'A',
                text: 'Armenia'
            },
            {
                value: 'AW',
                group: 'A',
                text: 'Aruba'
            },
            {
                value: 'AU',
                group: 'A',
                text: 'Australia'
            },
            {
                value: 'AT',
                group: 'A',
                text: 'Austria'
            },
            {
                value: 'AZ',
                group: 'A',
                text: 'Azerbaijan'
            },
            {
                value: 'BH',
                group: 'B',
                text: 'Bahrain'
            },
            {
                value: 'BD',
                group: 'B',
                text: 'Bangladesh'
            },
            {
                value: 'BY',
                group: 'B',
                text: 'Belarus'
            },
            {
                value: 'BE',
                group: 'B',
                text: 'Belgium'
            },
            {
                value: 'BZ',
                group: 'B',
                text: 'Belize'
            },
            {
                value: 'BJ',
                group: 'B',
                text: 'Benin'
            },
            {
                value: 'BT',
                group: 'B',
                text: 'Bhutan'
            },
            {
                value: 'BO',
                group: 'B',
                text: 'Bolivia'
            },
            {
                value: 'BA',
                group: 'B',
                text: 'Bosnia And Herzegovina'
            },
            {
                value: 'BW',
                group: 'B',
                text: 'Botswana'
            },
            {
                value: 'BR',
                group: 'B',
                text: 'Brazil'
            },
            {
                value: 'IO',
                group: 'B',
                text: 'British Indian Ocean Territory'
            },
            {
                value: 'BN',
                group: 'B',
                text: 'Brunei Darussalam'
            },
            {
                value: 'BG',
                group: 'B',
                text: 'Bulgaria'
            },
            {
                value: 'BF',
                group: 'B',
                text: 'Burkina Faso'
            },
            {
                value: 'BI',
                group: 'B',
                text: 'Burundi'
            },
            // Showing partial data. Download full source.  
        ],
            value: 1
        };
        
        this.show = this.show.bind(this);
    }
    
    show () {
         this.refs.external.instance.show();
     }
     
    render () {
        return (
            <div>
                <mobiscroll.Form>
                    <mobiscroll.FormGroup>
                        <mobiscroll.FormGroupTitle>Group wheel</mobiscroll.FormGroupTitle>
                        <label>
                            Group select
                            <mobiscroll.Select
                                ref="select"
                                theme=""
                                lang=""
                                group={true}
                                width={[40, 235]}
                                maxWidth={[40, 235]}
                            >
                                <optgroup label="A">
                                  <option value="AF">Afghanistan</option>
                                  <option value="AL">Albania</option>
                                  <option value="DZ">Algeria</option>
                                  <option value="AD">Andorra</option>
                                  <option value="AO">Angola</option>
                                  <option value="AR">Argentina</option>
                                  <option value="AM">Armenia</option>
                                  <option value="AW">Aruba</option>
                                  <option value="AU">Australia</option>
                                  <option value="AT">Austria</option>
                                  <option value="AZ">Azerbaijan</option>
                                </optgroup>
                                <optgroup label="B">
                                  <option value="BH">Bahrain</option>
                                  <option value="BD">Bangladesh</option>
                                  <option value="BY">Belarus</option>
                                  <option value="BE">Belgium</option>
                                  <option value="BZ">Belize</option>
                                  <option value="BJ">Benin</option>
                                  <option value="BT">Bhutan</option>
                                  <option value="BO">Bolivia</option>
                                  <option value="BA">Bosnia And Herzegovina</option>
                                  <option value="BW">Botswana</option>
                                  <option value="BR">Brazil</option>
                                  <option value="IO">British Indian Ocean Territory</option>
                                  <option value="BN">Brunei Darussalam</option>
                                  <option value="BG">Bulgaria</option>
                                  <option value="BF">Burkina Faso</option>
                                  <option value="BI">Burundi</option>
                                </optgroup>
                                // Showing partial data. Download full source.
            
                            </mobiscroll.Select>
                        </label>
                        <label>
                            Filter
                            <mobiscroll.Select
                                ref="select"
                                theme=""
                                lang=""
                                filter={true}
                                group={{groupWheel: false, header: false}}
                            >
                                <optgroup label="A">
                                  <option value="AF">Afghanistan</option>
                                  <option value="AL">Albania</option>
                                  <option value="DZ">Algeria</option>
                                  <option value="AD">Andorra</option>
                                  <option value="AO">Angola</option>
                                  <option value="AR">Argentina</option>
                                  <option value="AM">Armenia</option>
                                  <option value="AW">Aruba</option>
                                  <option value="AU">Australia</option>
                                  <option value="AT">Austria</option>
                                  <option value="AZ">Azerbaijan</option>
                                </optgroup>
                                <optgroup label="B">
                                  <option value="BH">Bahrain</option>
                                  <option value="BD">Bangladesh</option>
                                  <option value="BY">Belarus</option>
                                  <option value="BE">Belgium</option>
                                  <option value="BZ">Belize</option>
                                  <option value="BJ">Benin</option>
                                  <option value="BT">Bhutan</option>
                                  <option value="BO">Bolivia</option>
                                  <option value="BA">Bosnia And Herzegovina</option>
                                  <option value="BW">Botswana</option>
                                  <option value="BR">Brazil</option>
                                  <option value="IO">British Indian Ocean Territory</option>
                                  <option value="BN">Brunei Darussalam</option>
                                  <option value="BG">Bulgaria</option>
                                  <option value="BF">Burkina Faso</option>
                                  <option value="BI">Burundi</option>
                                </optgroup>
                                // Showing partial data. Download full source.
            
                            </mobiscroll.Select>
                        </label>
                    </mobiscroll.FormGroup>
                    <mobiscroll.FormGroup className="mbsc-padding">
                        <p className="mbsc-thin">Use it on any input or non-mobiscroll form.</p>
                    </mobiscroll.FormGroup>
                </mobiscroll.Form>
                <div className="demo-container">
                    <label>Select</label>
                    <mobiscroll.Select
                        value={this.state.val}
                        data={this.state.items}
                        group={true}
                        width={[40, 235]}
                        maxWidth={[40, 235]}
                        inputClass="demo-non-form"
                    />
                    <label>External button</label>
                    <div className="external-container">
                        <mobiscroll.Select
                            ref="external" 
                            group={true}
                            width={[40, 235]}
                            maxWidth={[40, 235]}
                            value={this.state.val}
                            data={this.state.items}
                            inputClass="demo-non-form"
                            showOnTap={false}
                            showOnFocus={false}
                        />
                        <button onClick={this.show} className="external-button">Show</button>
                    </div>
                </div>
            </div>
        );
    }    
}

<div id="content"></div>
.demo-non-form {
    color: initial;
    width: 100%;
    padding: 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: arial, verdana, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.demo-container {
    padding: 0 1em;
}

.external-container {
    display: flex;
}

.external-container button.external-button {
    font-weight: 400;
    padding: 10px;
    margin: 6px 0 12px 16px;
}

Select - Event handlers

Change demo
Event handlers
React Select demo with event hooks for custom integration and functionality. For React.
Clear event log
EVENTS FIRED: 
class SelectDemo extends React.Component {
    onInit = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onMarkupReady = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onBeforeShow = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onPosition = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onShow = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onSet = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onItemTap = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onDestroy = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onClose = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onCancel = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onBeforeClose = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onClear = (event, inst) => {
        // Your custom event handler goes here
    }
    
    onFilter = (event, inst) => {
        // Your custom event handler goes here
    }
    
    render() {
        return (
            <div>
                <mobiscroll.Select
                    ref="select"
                    theme=""
                    lang=""
                    filter={true}
                    onInit={this.onInit}
                    onMarkupReady={this.onMarkupReady}
                    onBeforeShow={this.onBeforeShow}
                    onPosition={this.onPosition}
                    onShow={this.onShow}
                    onSet={this.onSet}
                    onItemTap={this.onItemTap}
                    onDestroy={this.onDestroy}
                    onClose={this.onClose}
                    onCancel={this.onCancel}
                    onBeforeClose={this.onBeforeClose}
                    onClear={this.onClear}
                    onFilter={this.onFilter}
                    placeholder="Please Select..."
                >
                    <option value="1">Atlanta</option>
                    <option value="2">Berlin</option>
                    <option value="3">Boston</option>
                    <option value="4">Chicago</option>
                    <option value="5">London</option>
                    <option value="6">Los Angeles</option>
                    <option value="7">New York</option>
                    <option value="8">Paris</option>
                    <option value="9">San Francisco</option>
                </mobiscroll.Select>
            </div>
        );
    }    
}

<div id="content"></div>

Select - Display modes

Change demo
Display modes
React Select mobile and desktop demo with top, bottom, popup, center, modal, bubble and inline embeddable display. For React.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class SelectDemo extends React.Component {
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Try different display modes</mobiscroll.FormGroupTitle>
                    <label>
                        Bottom
                        <mobiscroll.Select
                            display="bottom"
                            name="City"
                        >
                            <option value="1">Atlanta</option>
                            <option value="2">Berlin</option>
                            <option value="3">Boston</option>
                            <option value="4">Chicago</option>
                            <option value="5">London</option>
                            <option value="6">Los Angeles</option>
                            <option value="7">New York</option>
                            <option value="8">Paris</option>
                            <option value="9">San Francisco</option>
                        </mobiscroll.Select>
                    </label>
                    <label>
                        Top
                        <mobiscroll.Select
                            display="top"
                            name="City"
                        >
                            <option value="1">Atlanta</option>
                            <option value="2">Berlin</option>
                            <option value="3">Boston</option>
                            <option value="4">Chicago</option>
                            <option value="5">London</option>
                            <option value="6">Los Angeles</option>
                            <option value="7">New York</option>
                            <option value="8">Paris</option>
                            <option value="9">San Francisco</option>
                        </mobiscroll.Select>
                    </label>
                    <label>
                        Center
                        <mobiscroll.Select
                            display="center"
                            name="City"
                        >
                            <option value="1">Atlanta</option>
                            <option value="2">Berlin</option>
                            <option value="3">Boston</option>
                            <option value="4">Chicago</option>
                            <option value="5">London</option>
                            <option value="6">Los Angeles</option>
                            <option value="7">New York</option>
                            <option value="8">Paris</option>
                            <option value="9">San Francisco</option>
                        </mobiscroll.Select>
                    </label>
                    <label>
                        Bubble
                        <mobiscroll.Select
                            display="bubble"
                            name="City"
                        >
                            <option value="1">Atlanta</option>
                            <option value="2">Berlin</option>
                            <option value="3">Boston</option>
                            <option value="4">Chicago</option>
                            <option value="5">London</option>
                            <option value="6">Los Angeles</option>
                            <option value="7">New York</option>
                            <option value="8">Paris</option>
                            <option value="9">San Francisco</option>
                        </mobiscroll.Select>
                    </label>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup className="mbsc-padding">
                    <p className="mbsc-thin">With inline display you can embed the Select component in almost any markup or form.</p>
                </mobiscroll.FormGroup>
                <mobiscroll.FormGroup>
                    <mobiscroll.FormGroupTitle>Embedded select scroller</mobiscroll.FormGroupTitle>
                    <div>
                        <mobiscroll.Select
                            display="inline"
                            showInput={false}
                        >
                            <select data-enhance="false" name="City">
                                <option value="1">Atlanta</option>
                                <option value="2">Berlin</option>
                                <option value="3">Boston</option>
                                <option value="4">Chicago</option>
                                <option value="5">London</option>
                                <option value="6">Los Angeles</option>
                                <option value="7">New York</option>
                                <option value="8">Paris</option>
                                <option value="9">San Francisco</option>
                            </select>
                        </mobiscroll.Select>
                    </div>
                </mobiscroll.FormGroup>
            </mobiscroll.Form>
        );
    }   
}

<div id="content"></div>

Select - Responsive

Change demo
Responsive
React Select scroller dropdowns with responsive usage. Easily set how the component behaves across diff screen sizes. For React.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class SelectDemo extends React.Component {
    
    getRemoteData = () => {
       return {
            url: 'https://trial.mobiscroll.com/airports/',
            remoteFilter: true,
            dataType: 'jsonp',
            processResponse: function (data) {
                var i,
                    item,
                    ret = [];
    
                if (data) {
                    for (i = 0; i < data.length; i++) {
                        item = data[i];
                        ret.push({
                            value: item.code,
                            text: item.name,
                            html: '<div style="font-size:16px;line-height:18px;">' + item.name + '</div><div style="font-size:10px;line-height:12px;">' + item.location + ', ' + item.code + '</div>'
                        });
                    }
                }
    
                return ret;
            }
       }
    }
    
    getResposiveSetting = () => {
        return {
            small: {
                display: 'bubble'
            },
            medium: {
                touchUi: false
            }
        }
    }
    
    render() {
        return (
            <mobiscroll.Form>
                <div className="mbsc-grid">
                    <div className="mbsc-row mbsc-justify-content-center">
                        <div className="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Basic usage</mobiscroll.FormGroupTitle>
                                <label>
                                    Single select
                                    <mobiscroll.Select
                                        responsive={this.getResposiveSetting()}
                                        value={1}
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Multi-select
                                    <mobiscroll.Select
                                        responsive={this.getResposiveSetting()}
                                        value={[3,4]}
                                        select="multiple"
                                    >
                                        <option value="1">Books</option>
                                        <option value="2">Movies, Music & Games</option>
                                        <option value="3">Electronics & Computers</option>
                                        <option value="4">Home, Garden & Tools</option>
                                        <option value="5">Health & Beauty</option>
                                        <option value="6">Toys, Kids & Baby</option>
                                        <option value="7">Clothing & Jewelry</option>
                                        <option value="8">Sports & Outdoors</option>
                                    </mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Group select & segmentation</mobiscroll.FormGroupTitle>
                                <label>
                                    Group select
                                    <mobiscroll.Select
                                        responsive={this.getResposiveSetting()}
                                        value={1}
                                    >
                                        <optgroup label="USA">
                                            <option value="1">Atlanta</option>
                                            <option value="2">Boston</option>
                                            <option value="3">Chicago</option>
                                            <option value="4">Los Angeles</option>
                                            <option value="5">New York</option>
                                            <option value="6">San Francisco</option>
                                        </optgroup>
                                        <optgroup label="UK">
                                            <option value="7">Bath</option>
                                            <option value="8">Bristol</option>
                                            <option value="9">Cambridge</option>
                                            <option value="10">London</option>
                                            <option value="11">Leeds</option>
                                            <option value="12">Manchester</option>
                                            <option value="13">Newcastle</option>
                                            <option value="14">Oxford</option>
                                        </optgroup>
                                        <optgroup label="China">
                                            <option value="15">Beijing</option>
                                            <option value="16">Chongqing</option>
                                            <option value="17">Shanghai</option>
                                            <option value="18">Shenzhen</option>
                                            <option value="19">Tianjin</option>
                                        </optgroup>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Group wheel
                                    <mobiscroll.Select
                                        responsive={this.getResposiveSetting()}
                                        value={1}
                                        group={true}
                                    >
                                        <optgroup label="USA">
                                            <option value="1">Atlanta</option>
                                            <option value="2">Boston</option>
                                            <option value="3">Chicago</option>
                                            <option value="4">Los Angeles</option>
                                            <option value="5">New York</option>
                                            <option value="6">San Francisco</option>
                                        </optgroup>
                                        <optgroup label="UK">
                                            <option value="7">Bath</option>
                                            <option value="8">Bristol</option>
                                            <option value="9">Cambridge</option>
                                            <option value="10">London</option>
                                            <option value="11">Leeds</option>
                                            <option value="12">Manchester</option>
                                            <option value="13">Newcastle</option>
                                            <option value="14">Oxford</option>
                                        </optgroup>
                                        <optgroup label="China">
                                            <option value="15">Beijing</option>
                                            <option value="16">Chongqing</option>
                                            <option value="17">Shanghai</option>
                                            <option value="18">Shenzhen</option>
                                            <option value="19">Tianjin</option>
                                        </optgroup>
                                    </mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Filtering & autocomplete</mobiscroll.FormGroupTitle>
                                <label>
                                    Remote data
                                    <mobiscroll.Select
                                        display="center"
                                        responsive={this.getResposiveSetting()}
                                        multiline={2}
                                        height={50}
                                        filter={true}
                                        data={this.getRemoteData()}
                                        placeholder="Please select..."
                                    ></mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Select - Desktop

Change demo
Desktop
React Select dropdown example for desktop usage. Enjoy the same polished experience with cursor pointer interaction. For React.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

class SelectDemo extends React.Component {
    
    getRemoteData = () => {
       return {
            url: 'https://trial.mobiscroll.com/airports/',
            remoteFilter: true,
            dataType: 'jsonp',
            processResponse: function (data) {
                var i,
                    item,
                    ret = [];
    
                if (data) {
                    for (i = 0; i < data.length; i++) {
                        item = data[i];
                        ret.push({
                            value: item.code,
                            text: item.name,
                            html: '<div style="font-size:16px;line-height:18px;">' + item.name + '</div><div style="font-size:10px;line-height:12px;">' + item.location + ', ' + item.code + '</div>'
                        });
                    }
                }
    
                return ret;
            }
       }
    }
    
    render() {
        return (
            <mobiscroll.Form>
                <mobiscroll.Note color="primary" className="mbsc-align-center">The Select component can be used on mobile and desktop. See desktop functionality below.</mobiscroll.Note>            
            
                <div className="mbsc-grid">
                    <div className="mbsc-row mbsc-justify-content-center">
                        <div className="mbsc-col-sm-9 mbsc-col-md-7 mbsc-col-xl-5">
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Basic usage</mobiscroll.FormGroupTitle>
                                <label>
                                    Single select
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Multi-select
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={[3,4]}
                                        select="multiple"
                                    >
                                        <option value="1">Books</option>
                                        <option value="2">Movies, Music & Games</option>
                                        <option value="3">Electronics & Computers</option>
                                        <option value="4">Home, Garden & Tools</option>
                                        <option value="5">Health & Beauty</option>
                                        <option value="6">Toys, Kids & Baby</option>
                                        <option value="7">Clothing & Jewelry</option>
                                        <option value="8">Sports & Outdoors</option>
                                    </mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Pop-up positioning</mobiscroll.FormGroupTitle>
                                <label>
                                    Top
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                        display="top"
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Bottom
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                        display="bottom"
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Anchored
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Center
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                        display="center"
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Group select & segmentation</mobiscroll.FormGroupTitle>
                                <label>
                                    Group select
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                    >
                                        <optgroup label="USA">
                                            <option value="1">Atlanta</option>
                                            <option value="2">Boston</option>
                                            <option value="3">Chicago</option>
                                            <option value="4">Los Angeles</option>
                                            <option value="5">New York</option>
                                            <option value="6">San Francisco</option>
                                        </optgroup>
                                        <optgroup label="UK">
                                            <option value="7">Bath</option>
                                            <option value="8">Bristol</option>
                                            <option value="9">Cambridge</option>
                                            <option value="10">London</option>
                                            <option value="11">Leeds</option>
                                            <option value="12">Manchester</option>
                                            <option value="13">Newcastle</option>
                                            <option value="14">Oxford</option>
                                        </optgroup>
                                        <optgroup label="China">
                                            <option value="15">Beijing</option>
                                            <option value="16">Chongqing</option>
                                            <option value="17">Shanghai</option>
                                            <option value="18">Shenzhen</option>
                                            <option value="19">Tianjin</option>
                                        </optgroup>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Group wheel
                                    <mobiscroll.Select
                                        touchUi={false}
                                        value={1}
                                        group={true}
                                    >
                                        <optgroup label="USA">
                                            <option value="1">Atlanta</option>
                                            <option value="2">Boston</option>
                                            <option value="3">Chicago</option>
                                            <option value="4">Los Angeles</option>
                                            <option value="5">New York</option>
                                            <option value="6">San Francisco</option>
                                        </optgroup>
                                        <optgroup label="UK">
                                            <option value="7">Bath</option>
                                            <option value="8">Bristol</option>
                                            <option value="9">Cambridge</option>
                                            <option value="10">London</option>
                                            <option value="11">Leeds</option>
                                            <option value="12">Manchester</option>
                                            <option value="13">Newcastle</option>
                                            <option value="14">Oxford</option>
                                        </optgroup>
                                        <optgroup label="China">
                                            <option value="15">Beijing</option>
                                            <option value="16">Chongqing</option>
                                            <option value="17">Shanghai</option>
                                            <option value="18">Shenzhen</option>
                                            <option value="19">Tianjin</option>
                                        </optgroup>
                                    </mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>Filtering & autocomplete</mobiscroll.FormGroupTitle>
                                <label>
                                    Remote data
                                    <mobiscroll.Select
                                        display="center"
                                        touchUi={false}
                                        multiline={2}
                                        height={50}
                                        filter={true}
                                        data={this.getRemoteData()}
                                        placeholder="Please select..."
                                    ></mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                            <mobiscroll.FormGroup inset>
                                <mobiscroll.FormGroupTitle>With buttons</mobiscroll.FormGroupTitle>
                                <label>
                                    Set button
                                    <mobiscroll.Select
                                        touchUi={false}
                                        display="center"
                                        buttons={['set']}
                                        placeholder="Please select..."
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                                <label>
                                    Set/Cancel
                                    <mobiscroll.Select
                                        touchUi={false}
                                        display="center"
                                        buttons={['set', 'cancel']}
                                        placeholder="Please select..."
                                    >
                                        <option value="1">Atlanta</option>
                                        <option value="2">Berlin</option>
                                        <option value="3">Boston</option>
                                        <option value="4">Chicago</option>
                                        <option value="5">London</option>
                                        <option value="6">Los Angeles</option>
                                        <option value="7">New York</option>
                                        <option value="8">Paris</option>
                                        <option value="9">San Francisco</option>
                                    </mobiscroll.Select>
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Select - Theming capabilities

Change demo
Theming capabilities
React Select scroller with iOS, Material, Windows look & feel. Customize colors and styling with theme builder. For React.
mobiscroll.settings = {
    theme: '',
    lang: ''
};

class SelectDemo extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            cities: [{
                value: 1,
                text: 'Atlanta'
            }, {
                value: 2,
                text: 'Berlin'
            }, {
                value: 3,
                text: 'Boston'
            }, {
                value: 4,
                text: 'Chicago'
            }, {
                value: 5,
                text: 'London'
            }, {
                value: 6,
                text: 'Los Angeles'
            }, {
                value: 7,
                text: 'New York'
            }, {
                value: 8,
                text: 'Paris'
            }, {
                value: 9,
                text: 'San Francisco'
            }]
        };
    }
    
    render () {
        return (
             <mobiscroll.Form>
                <div className="mbsc-grid-fixed mbsc-grid-lg">
                    <div className="mbsc-row">
                        <div className="mbsc-col">
                            <mobiscroll.FormGroup inset>
            					<mobiscroll.FormGroupTitle>iOS Theme</mobiscroll.FormGroupTitle>
            					<label>
            					    Light
                                    <mobiscroll.Select
                                        theme="ios"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Select
                                        theme="ios-dark"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                        <div className="mbsc-col">
                            <mobiscroll.FormGroup inset>
            					<mobiscroll.FormGroupTitle>Material Theme</mobiscroll.FormGroupTitle>
            					<label>
            					    Light
                                    <mobiscroll.Select
                                        theme="material"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Select
                                        theme="material-dark"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                    <div className="mbsc-row">
                        <div className="mbsc-col">
                            <mobiscroll.FormGroup inset>
            					<mobiscroll.FormGroupTitle>Windows Theme</mobiscroll.FormGroupTitle>
            					<label>
            					    Light
                                    <mobiscroll.Select
                                        theme="windows"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Select
                                        theme="windows-dark"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                        <div className="mbsc-col">
                            <mobiscroll.FormGroup inset>
            					<mobiscroll.FormGroupTitle>Mobiscroll Theme</mobiscroll.FormGroupTitle>
            					<label>
            					    Light
                                    <mobiscroll.Select
                                        theme="mobiscroll"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                                <label>
            					    Dark
                                    <mobiscroll.Select
                                        theme="mobiscroll-dark"
                                        display="center"
                                        touchUi={false}
                                        data={this.state.cities}
                                        placeholder="Please Select..."
                                    />
                                </label>
                            </mobiscroll.FormGroup>
                        </div>
                    </div>
                </div>
            </mobiscroll.Form>
        );
    }    
}

<div id="content"></div>

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for React $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for React $595


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Framework license


Select the development framework you are using. Get all 36 components with the license.

Mobiscroll for Javascript
Mobiscroll for jQuery
Mobiscroll for React
Mobiscroll for Angular
Mobiscroll for Angular JS
  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

Use jQuery when you have jQuery already included or if you are building with jQuery Mobile.

Use AngularJS when building with Angular 1.x or Ionic 1.

Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4.

Use it when you are building your app or website with React.

Do you need additional support seats?

The framework license comes with one support seat. ( +$50/seat )

Add the source code?

Price
Buy now
Customize & try demos locally
Sign in or start your free trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Email address

Customize & try this demo locally
Sign in or start your free trial

We have to set you up with a trial for this to run 👍

Email address

Customize & try demos locally
You can download and use Mobiscroll for Free

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite

You will be prompted to log in with your mobiscroll account. Set your password here

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve
Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below

You are setting a password for the account

New Password Required Enter at least 6 characters
Change your password
Need to update your password? Enter and hit the button below

Your password has been changed!

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Please extract the zip file and run the project like any Angular CLI app. Make sure to have the Angular CLI installed.

For installation and usage, extract the zip file and open a terminal window and follow these steps.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ng serve --open

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 27
Cards 14
Collapsible 3
Color 10
Date & Time 20
Event Calendar 25
Forms 6
Grid layout 7
Image 7
Inputs & fields 6
Listview 18
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 19
Scroller 7
Scrollview 5
Select 16
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos