View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0035471 | mantisbt | ui | public | 2025-02-25 19:53 | 2025-03-01 18:40 | 
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | tweak | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Target Version | 2.27.1 | Fixed in Version | 2.27.1 | ||
| Summary | 0035471: Incorrect styling of Plugin Filter Fields | ||||
| Description | Plugins can hook EVENT_FILTER_FIELDS to add custom filter fields (e.g. FilterBugList). These fields are not displayed with standard MantisBT styling. For example in the attached screenshot, the FILTER_TYPE_STRING Bug List text input (framed in red) is barely visible - compare that with the one from the Relationships filter (green frame) which has the correct style. Exact same problem occurs with FILTER_TYPE_INT. With FILTER_TYPE_BOOLEAN, the checkbox input is not using ACE style. | ||||
| Additional Information | I noticed the problem while reviewing PR https://github.com/mantisbt/mantisbt/pull/2056 to fix 0035179 | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| MantisBT: master-2.27 cbfa41c5 2025-02-25 19:18 Details Diff | Fix styling of MantisFilter fields Due to a missing type attribute or class in the input tags generated by print_filter_plugin_field(), the filter field is displayed with incorrect styling for FILTER_TYPE_STRING, FILTER_TYPE_INT and FILTER_TYPE_BOOLEAN. Fixes 0035471 | Affected Issues 0035471 | |
| mod - core/filter_form_api.php | Diff File | ||
