Loading...
 
Skip to main content

The class attribute is not working anymore on certain CustomSearch fields

Status
Closed
Subject
The class attribute is not working anymore on certain CustomSearch fields
Version
27.x
Regression from 26.x to 27.x
Category
  • Bug
  • Regression
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Up to Tiki26x it was possible to add a class to certain elements of the CustomSearch plugin interface.

For example:

Copy to clipboard
{categories _parent="4" _style="select" class="faq-input-field selectCategory bg-primary-light h-100 mt-2 mt-md-0 mt-lg-0 mt-xl-0 mt-xxl-0" _firstlabel="Search..." _showdeep="y"}


On Tiki27 due to the usage of "Select2" the class is omitted.
This doesn't happen for all CustomSearch fields, but do on selectors.

Image

Solution
Workaround

Create a theme.
Redo the design using css.

Importance
3
Easy to solve?
5
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8671
Created
Tuesday 27 August, 2024 08:06:51 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Saturday 19 April, 2025 17:47:06 UTC


Show PHP error messages