Project

General

Profile

Actions

Bug #43099

closed

TCA "input" field: clear to default

Added by Bernhard Schmitt about 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-11-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I have an input field defined with range 0.00 to 1.00, default 0.50 and eval to double2.
When I click on the clearer link in the right corner of the input field, the field's value is set to an empty string and then automatically replaced by 0.00.
Since 0.00 is a valid value but not the default one, I suggest that either
  • the clearer should insert the default value if set, or
  • this behaviour should be togglable via a configuration field at least
Actions #1

Updated by Felix Kopp almost 10 years ago

  • Status changed from New to Closed
  • Priority changed from Should have to Won't have this time
  • Is Regression set to No

Thank you for the input.

The clear (x) should always reset to the empty input field - also in case of required/not-empty fields.
Reason is that editor's should input the intended value by themselves always.

Actions

Also available in: Atom PDF