The angular grid toolbar action component should have a disable option
Bug #1808268 reported by
Jane Sandberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
3.2 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently, the AngularJS grid has a cool option to disable an action based on the results of a function (https:/
The Angular grid doesn't have this option yet. I'm happy to work on adding this, if there are no objections.
Changed in evergreen: | |
assignee: | nobody → Jane Sandberg (sandbej) |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
status: | New → Confirmed |
Changed in evergreen: | |
milestone: | 3.2.3 → 3.3-beta1 |
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I created a branch for this called user/sandbergja /lp1808268_ add_disable_ option_ to_eg2_ grid_toolbar_ action
Here's a link: http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ sandbergja/ lp1808268_ add_disable_ option_ to_eg2_ grid_toolbar_ action
It includes an action in the sandbox that is conditionally enabled/disabled, so that you can see this in action.
Here are the testing instructions from the commit: /yourdomain/ eg2/staff/ sandbox) toolbar- actions> on grids in eg2. Make sure
1) Apply this commit and recompile eg2.
2) Open the eg2 sandbox (https:/
3) Ensure that the action called "Action that needs a single row"
is only enabled when one row of the grid is selected.
4) Create more <eg-grid-
that they all enable/disable those actions per the output of the
functions you reference in the [disabled] attribute.