Feature #5049
closedAdd search capability to Multi-select for privileges and perhaps other places it makes sense.
100%
Description
Adding a search capability to privilege selection would be a huge gain. Currently the list is extremely long and the user may not know the section/prefix under which the desired page is filed.
Good examples of similar controls at http://harvesthq.github.io/chosen/ ("Multi-Select" control) and https://select2.github.io/examples.html ("Multiple select boxes" control) though ideally the results would show in a box one per line rather than in a continuous list if possible.
If Bootstrap has a similar one built-in that would be even better.
Updated by Renato Botelho about 9 years ago
- Project changed from Bootstrap to pfSense
Updated by Anonymous almost 9 years ago
- Status changed from Assigned to Feedback
- Assignee changed from Anonymous to Jim Pingle
Adding select/search capability via chosen or select2 gave formatting issues and would no longer allow dynamic help text to be provided.
I have added a simple filter box/button instead and allowed it to respond to the Enter key.
Type "Desktop" then <Enter> to see only those options containing the word Desktop. (Case insensitive)
Its not exactly what you asked for, but it is the best compromise I could come up with for a low priority wish.
Updated by Anonymous almost 9 years ago
- % Done changed from 0 to 100
Applied in changeset 4abd750d4dcd3ae2467d3010b22aa0b2172d4407.
Updated by Jim Pingle almost 9 years ago
- Status changed from Feedback to Assigned
That looks and works great, thanks!
Can that get put on the privilege editor for the Groups as well? (system_groupmanager_addprivs.php)
Updated by Jim Pingle almost 9 years ago
- Assignee changed from Jim Pingle to Anonymous
Updated by Anonymous almost 9 years ago
- Status changed from Assigned to Feedback
- Assignee changed from Anonymous to Jim Pingle
Updated by Jim Pingle almost 9 years ago
- Status changed from Feedback to Assigned
- Assignee changed from Jim Pingle to Anonymous
Looks good there too, though I hit a snag.
It works fine if you select just one thing, but if you select multiple it actually selects everything between the filtered options, even hidden items.
For example, make a user or group, then try to add privileges, enter "ipsec" and filter, then highlight everything, when you save, it added just about everything in the list, not just what was selected.
Updated by Jim Pingle almost 9 years ago
- Status changed from Assigned to Resolved
Tested with the latest fixes and it works fine, closing, thanks!