Conversation
supportIt seems woocommerce select2 library is old 4.0.3, current stable version https://github.com/select2/select2/releases/tag/4.1.0 The old and the new version of select2 package renders the clear/remove icon/button of the selected items in the multi select field. Hint, the remove button for selected items class name ‘select2-selection__choice__remove’ is different html structure inside this element.
Hi @manchumahara Thank you for sharing those details. WooCommerce currently uses SelectWoo, which is a fork of Select2 maintained for compatibility and accessibility reasons. As a result, the version and markup may differ from the latest upstream Select2 releases. For more details you can use this https://github.com/woocommerce/selectWoo To better understand the issue, could you please clarify what problem you are experiencing due to the differences in the select2-selection__choice__remove element’s HTML structure? For example, is this causing a styling issue, JavaScript compatibility problem, or an integration issue with another plugin? If possible, please share: The page where the issue occurs. A screenshot showing the expected and actual behavior. Any custom code, theme modifications, or third-party plugins that depend on the newer Select2 markup. With that information, we’ll be in a better position to determine whether this is a compatibility issue, a bug, or an enhancement request.
Hi @manchumahara Thank you for sharing those details. WooCommerce currently uses SelectWoo, which is a fork of Select2 maintained for compatibility and accessibility reasons. As a result, the version and markup may differ from the latest upstream Select2 releases. For more details you can use this https://github.com/woocommerce/selectWoo To better understand the issue, could you please clarify what problem you are experiencing due to the differences in the select2-selection__choice__remove element’s HTML structure? For example, is this causing a styling issue, JavaScript compatibility problem, or an integration issue with another plugin? If possible, please share: The page where the issue occurs. A screenshot showing the expected and actual behavior. Any custom code, theme modifications, or third-party plugins that depend on the newer Select2 markup. With that information, we’ll be in a better position to determine whether this is a compatibility issue, a bug, or an enhancement request.