Actions
Bug #24574
closedPositioning and JS behaviour of the icon to clear input fields are suboptimal
Start date:
2011-01-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Currently there is an X-icon as a replacement of the former checkbox, that is used to reset/clear existing values of any input field.
Depending on the browser the position of this icon inside the box is not aligned "middle" relative to the box.
Additionally the JS clears the value but doesn't set the focus to the cleared input field.
(issue imported from #M17035)
Files
Updated by Jo Hasenau almost 14 years ago
Attached patch changes the top position from 6px to 28% so that the different "computed height" of the surrounding box is taken into account. Additionally the focus is set to the input field.
Tested with IE8, FF, Chrome, Safari (all Win7)
Updated by Jo Hasenau almost 14 years ago
V2 adds 20px padding to the right of each input field to avoid text behind the icon.
Actions