プロジェクト

全般

プロフィール

Vote #75261

完了

Option to display bool custom fields as a single checkbox

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Custom fields_14
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
14
version_id:
84
issue_org_id:
17003
author_id:
102755
assigned_to_id:
1
comments:
13
status_id:
5
tracker_id:
1
plus1:
2
affected_version:
closed_on:
affected_version_id:
82
ステータス-->[Closed]

説明

Since our update to 2.5.1 the custom fields with type "boolean" have three possible values. true, false and empty. Bool should have only true and false as it was before.

Also when we set the custom field to show as checkboxes, it shows up as radio buttons.


journals

+1

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Edit the custom field and mark it as required. Then you won't have to "empty" option.
Still, the custom field will be displayed with 2 radio buttons, do you think that a checkbox is better?
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Edit the custom field and mark it as required. Then you won't have to "empty" option.

Thank you for letting me know how to turn "empty" option off.

> Still, the custom field will be displayed with 2 radio buttons, do you think that a checkbox is better?

* Radio buttons requires more spaces on the screen than check boxes.
* It is hard for me to imagine a situation in need of "empty" option for boolean and I am afraid that three values for boolean is quite confusing.

--------------------------------------------------------------------------------
Who says checkboxes can only have two states :D

I find that displaying radio buttons after choosing checkboxes is a bit misleading. You could provide both options.

Some people might see the following better as radio:

<pre>
Did you find this helpful? [ ] Yes [ ] No [ ] N/A
</pre>
Versus
<pre>
[ ] Did you find this helpful?
</pre>
--------------------------------------------------------------------------------
I agree with GO Maeda.
When the type is "checkbox" it should be a checkbox, but for other cases or preferences you could add radio buttons a additonal displayoption.
--------------------------------------------------------------------------------
Fixed in r13216, you are now able to choose between a single checkbox or radio buttons.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Confirmed that checkbox became available again. Thanks a lot!
--------------------------------------------------------------------------------
Merged, thanks for your feedback.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,17392,Japanese translation update (r13217)
relates,Closed,16476,Custom checkbox visibility formating

Admin Redmine さんが約4年前に更新

  • カテゴリCustom fields_14 にセット
  • 対象バージョン2.5.2_84 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0