Skip to content
back to search

OCA/website · 18.0

Feature-rich select boxes

website_select2

LGPL-3Website/Websitev18.0.1.0.0301updated 4 months ago

Feature-rich select boxes

Beta License: LGPL-3 OCA/website Translate me on Weblate Try me on Runboat

This module applies select2 to select elements on the website or portal, allowing users to incrementally search within the available options:

Country selector with search

Table of contents

Usage

To use this module, you need to:

  1. Go to /my/account
  2. 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.

Odoo Community Association

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:

hbrunn

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>.