Bug #100110
closedpagetree filter cannot be cleared anymore in firefox
0%
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)
Updated by Jasmina Ließmann almost 2 years ago
- Related to Task #99549: Module "Web": Visibility of reset button in page tree filter added
Updated by Riccardo De Contardi about 1 year ago
· Edited
- Status changed from New to Closed
- Target version deleted (
Candidate for patchlevel)
I close this issue as a duplicate of #99549 please continue the discussion there.
I've put there the description of this issue as a comment to keep track of it.
If you think that this is the wrong description please reopen it or let me know
Thank you
Updated by Markus Timtner 7 months ago
- Priority changed from Should have to Won't have this time
- Complexity changed from easy to nightmare
TL,DR: This is a browser issue:
Firefox already HAS the Feature, too, but it is still marked as experimental and is not enabled by default.
To enable it, go to about:config and set layout.forms.input-type-search.enabled
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#layout_for_input_typesearch