Issue Bug Closed

#92054"Clearable" feature can't be applied to input in page tree filter

Vladimir Cherednichenko 08/20/20, 13:22 updated 08/24/20, 19:31

Description

There is problem with backend/Resources/Public/JavaScript/PageTree/PageTreeToolbar.js, line 174 in Typo3 v9.5.20

PageTreeToolbar.js?bust=b017b925856937fb7bdd29763cbc360b1b7978d4:174 Uncaught TypeError: input.clearable is not a function
    at HTMLDivElement.<anonymous> (PageTreeToolbar.js?bust=b017b925856937fb7bdd29763cbc360b1b7978d4:174)
    at HTMLDivElement.dispatch (jquery.js?bust=b017b925856937fb7bdd29763cbc360b1b7978d4:5187)
    at HTMLDivElement.elemData.handle (jquery.js?bust=b017b925856937fb7bdd29763cbc360b1b7978d4:4995)

Problem: $submenu.find(‘input’)->get(0), what is return dom object what don’t have “clearable” method.
Solution: remove “->get(0)” will solve the problem.

Reviews 0

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