When a select field has only one value, do not display the field as editable

NEW
Unassigned

Status

()

Bugzilla
Creating/Changing Bugs
--
enhancement
9 years ago
4 years ago

People

(Reporter: Frédéric Buclin, Unassigned)

Tracking

Details

(Reporter)

Description

9 years ago
It doesn't make sense for the user to have a select field with a single value in it. He has no other choice. So we should display them as plain text, as we do for the component/version/milestone in show_bug.cgi. This RFE is for both enter_bug.cgi and show_bug.cgi.

For product-specific fields, we probably have to edit bug/edit.html.tmpl and bug/create/create.html.tmpl, and for global fields, bug/field.html.tmpl (I didn't check).

Updated

6 years ago
Assignee: create-and-change → bugzilla-mozilla
Target Milestone: --- → Bugzilla 5.0
(Reporter)

Comment 1

6 years ago
We are going to branch for Bugzilla 4.4 next week and this bug is too invasive or too risky to be accepted for 4.4 at this point. The target milestone is set to 5.0 which is our next major release.

I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else on time for 5.0.
Target Milestone: Bugzilla 4.4 → Bugzilla 5.0
(Reporter)

Updated

4 years ago
Assignee: bugzilla-mozilla → create-and-change

Updated

4 years ago
Target Milestone: Bugzilla 5.0 → ---
You need to log in before you can comment on or make changes to this bug.