[TYPO3-core] RFC #16006: Feature - Remove the checkbox that clears the input fields in TCE-forms and replace it with a sprite icon

François Suter fsu-lists at cobweb.ch
Thu Feb 17 15:36:37 CET 2011


Hi Joey,

> Problem:
> 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.

Was that second patch actually done? I didn't search the whole mailing 
list, but at least there are no related issues in the bug tracker?

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list