Issue Bug Closed

#100110pagetree filter cannot be cleared anymore in firefox

Markus Timtner 03/07/23, 12:53 updated 08/03/24, 07:10

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.