It was tested in versions 8.1.2 and 8.1.3 but it does not work (the relevant icon is not displayed)
Hi,
Thanks for the feedback.
We will provide a quick fix with v8.1.4 in a few hours.
Regards.
Seems 8.1.3 is buggy, it also has tagify issue blockui issue, going back to 8.1.1 for now.
I have the same problem.
this bug also exists on the Metronic document page:
https://preview.keenthemes.com/html/metronic/docs/forms/select2#clear-selection
in the clear section, if you inspect the element, the clear button HTML code exists on the page but hides.
I temporarily modified the following code and it worked:
.select2-container--bootstrap5 .select2-selection__clear {
mask-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23676a6d'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
}