Project

General

Profile

Actions

Feature #23742

closed

Remove the checkbox that clears the input fields in TCE-forms and replace it with a sprite icon

Added by Jo Hasenau about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-10-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

For input fields in TCE-forms there is an optional checkbox, that offers a different behaviour depending on the data type of the field.

For ordinary input fields it clears the current value of this field on click.
When used in date or datetime fields, it fills in the current time on click, when there is no value available yet and it clears the current value, when there is a date or datetime value in the field.

This behaviour is inconsistent and the checkbox element is semantically incorrect, because there is nothing to check.

Solution: Remove the checkbox, replace it with an icon that clears the input and move the date and datetime funtionality to the calendar icon.

The attached patch "input_clearer" removes the checkbox and replaces it with a sprite icon. The icon will not show at all, unless there is a value in the field. On click the icon will remove the current value of the field. Together with this patch we need the corresponding icon to be placed in typo3\sysext\t3skin\images\icons\actions

A second patch will take care of the removed functionality for date and datetime fields.
(issue imported from #M16006)


Files

input_clearer.diff (3.77 KB) input_clearer.diff Administrator Admin, 2010-10-15 19:28
input-clear.zip (384 Bytes) input-clear.zip Administrator Admin, 2010-10-15 19:29
input_clearer_v5.patch (7.69 KB) input_clearer_v5.patch Administrator Admin, 2010-10-17 10:31
Actions #1

Updated by Jo Hasenau about 14 years ago

It has to be: The icon will not show at all, unless there is a value in the field and the mouse hovers over the field.

Actions #2

Updated by Steffen Ritter about 14 years ago

+1 reading and idea

Actions #3

Updated by Benni Mack about 14 years ago

Committed to trunk (rev. 9114 and 9115)

Actions #4

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF