Project

General

Profile

Actions

Bug #100110

closed

pagetree filter cannot be cleared anymore in firefox

Added by Markus Timtner almost 2 years ago. Updated 7 months ago.

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #99549: Module "Web": Visibility of reset button in page tree filterClosed2023-01-16

Actions
Actions #1

Updated by Jasmina Ließmann almost 2 years ago

  • Related to Task #99549: Module "Web": Visibility of reset button in page tree filter added
Actions #2

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

Actions #3

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

Actions

Also available in: Atom PDF