Back









Create a simple select with AvalynxSelect. The selects some different options and a live search.

Source of exampleCopy to clipboard


document.addEventListener('DOMContentLoaded', () => {
    const avalynxSelect1 = new AvalynxSelect('#test-select1', {
        scrollItems: 5,
        liveSearch: true
    });

    const avalynxSelect2 = new AvalynxSelect('#test-select2', {
        scrollItems: 5,
        liveSearch: true,
        noDefaultSelection: true,
        className: 'btn btn-danger',
    });
});
	
AvalynxSelect on GitHub Avalynx on GitHub