Advanced Forms
The Advanced Select Component goes beyond traditional select boxes, offering a suite of customizable options that cater to a wide range of user needs. With support for searching, tagging, and multiple other functionalities, it stands as a versatile choice for any application requiring advanced selection capabilities.
Note that this component requires the use of our Advanced Select plugin, else you can skip this message if you are already using Preline UI as a package.
This example demonstrates how the dropdown remains fixed in position.
Use multiple tag to enable counter option that counts the number of selected options.
Use multiple tag to enable counter option that counts the number of selected options.
Use multiple tag to enable counter option that counts the number of selected options.
Use "scrollToSelected": true to automatically scroll to the selected option when the dropdown opens.
Use "isSearchDirectMatch": false to disable direct match searching.
By default, you can search by both the value and the description. You can disable searching inside the description by setting "preventSearchInsideDescription": true.
Create a select menu with a custom option template, such as using icons.
Create your own custom template for select options with avatars and more.
Customize option items by adding colored square indicators to fit your design needs.
Make selects look inactive by adding the disabled boolean attribute to <select> element and use "toggleClasses": "hs-select-disabled:*" class to style it.
Provides valuable, actionable feedback to your users with HTML5 form validation.
Use hs-success and hs-error for dynamic validation state styles.
Use addOption and removeOption methods to add/remove options.
Provides setValue method that helps to set a value programmatically.
Provides setValue method that helps to set a value programmatically.
Use "apiUrl": "https://some-path.com/api" to enable build select according to the remote data.
Select multiple options. Use "apiUrl": "https://some-path.com/api" to enable build select according to the remote data.
Custom template with removable tags. Use "apiUrl": "https://some-path.com/api" to enable build select according to the remote data.
Select multiple options and add an option template. Use "apiUrl": "https://some-path.com/api" to enable build select according to the remote data.
Use multiple tag to enable counter option that counts the number of selected options. Use "apiUrl": "https://some-path.com/api" to enable build select according to the remote data.
Build your custom design. Use "apiUrl": "https://some-path.com/api" to enable build select according to the remote data.
overflow:hidden;
Note that this feature requires the use of the third-party Floating UI library.
Select that is inside the parent with hidden overflow. Use "dropdownScope": "window". to enable this feature.
Provides destroy method that helps to destroy a select.