Actions
Bug #100110
closedpagetree filter cannot be cleared anymore in firefox
Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2023-03-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
nightmare
Is Regression:
Yes
Sprint Focus:
Description
It seems that since changing the input of the pagetree filter to [type=search],
firefox has no working button to clear the filter anymore.
This is browser-related, according to this SO issue here: https://stackoverflow.com/a/37846330/214500
"Webkit derived browsers put in an x to clear a value. Firefox does not. However firefox supports this feature, but it does nothing about it and you need to style it your self to show the X button in firefox."
The solution isto add a button[type=reset] to the input fields and style them accordingly:
https://codepen.io/mtness/pen/MWqvNJx
(original thread here: https://typo3.slack.com/archives/C03AM9R17/p1678191516607429)
Actions