Project

General

Profile

Actions

Defect #34068

open

Missing blank option on persisted records

Added by Pavel Rosický almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

steps to simulate
1/ add a new CF type key-value
2/ set a default value and check a required attribute

current behavior
on existing issues without a CF value, there's always the FIRST value prefilled automatically. It's easy to overlook there was any change.

desired behavior
in this case, there should be a blank value and a user should be prompt to select something.

the behavior should be kept for new tasks only where the blank value on required fields makes no sense

a patch attached


Files

field_format.rb.patch (789 Bytes) field_format.rb.patch Pavel Rosický, 2020-10-05 14:22
issue_edit.png (14.4 KB) issue_edit.png Pavel Rosický, 2020-10-05 14:22
settings.png (19.6 KB) settings.png Pavel Rosický, 2020-10-05 14:22
list_format_test.rb.patch (2.45 KB) list_format_test.rb.patch Pavel Rosický, 2020-10-05 14:22
Actions

Also available in: Atom PDF