Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the None option at the end of a choice list #6465

Closed
JaneSjs opened this issue Jul 3, 2023 · 0 comments
Closed

Display the None option at the end of a choice list #6465

JaneSjs opened this issue Jul 3, 2023 · 0 comments
Assignees
Labels
enhancement user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Jul 3, 2023

Updated:

The following settings has been added into survey:

  specialChoicesOrder: {
    selectAllItem: [-1],
    noneItem: [1],
    otherItem: [2]
  }

To set None Item into the end it should changed to:
settings.specialChoicesOrder.noneItem = [3];
To show None Item in the start and in the end you can call the following code:
settings.specialChoicesOrder.noneItem = [-3, 3];

None Item Position

Display the None option at the End of a list

There is no underlying reason for this other than user preference, since it makes sense for "None" to be the last choice.

Display the None option at the Top of the Checkbox list


Additional inquiries:

@JaneSjs JaneSjs changed the title Choices - Show Display the None option at the end of a choice list Jul 3, 2023
@JaneSjs JaneSjs added enhancement user issue An issue or bug reported by users labels Jul 3, 2023
andrewtelnov added a commit that referenced this issue Nov 8, 2023
@OlgaLarina OlgaLarina added this to the v1.9.117 milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

3 participants