Actions
Defect #38880
openIncorrect default value display on true/false custom field when editing issues
Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
Hi
Scenario:- add new custom field of type "boolean"
- select default value "False"
- select display mode "drop down"
When you creating a new issue, newly created custom field correctly is False.
But when you editing issues that was created before adding custom field, the custom field shown as True.
Env:
Redmine 4.2.10
Ruby 2.7
Updated by Mizuki ISHIKAWA about 1 year ago
Presumably, to reproduce this issue, you need to set Required to true in the custom field settings.
When editing an existing issue with custom field Required set to true, the custom field value is empty but the dropdown only has a Yes or No option, so Yes seems to be preferred.
Actions