Feature-rich select boxes
by Hunki Enterprises BV https://github.com/OCA/website , Odoo Community Association (OCA) https://github.com/OCA/website| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 45 |
| Technical Name |
website_select2 |
| License | LGPL-3 |
| Website | https://github.com/OCA/website |
Feature-rich select boxes

This module applies select2 to select elements on the website or portal, allowing users to incrementally search within the available options:
Table of contents
Usage
To use this module, you need to:
- Go to /my/account
- Observe that ie. the country dropdown is searchable
Advanced usage:
- To disable select2 on some specific select element, set class select2-disable
- To force select2 on a select elements with few options, set class select2-force
- To pass custom options to select2 for some specific select element, set attribute data-select2-options="{...}"
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Authors
- Hunki Enterprises BV
Contributors
- Holger Brunn <mail@hunki-enterprises.com> (https://hunki-enterprises.com)
Other credits
This addon is a thin wrapper around:
- https://github.com/select2/select2
- https://github.com/apalfrey/select2-bootstrap-5-theme
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:

This module is part of the OCA/website project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Please log in to comment on this module