Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.10.0-b1
-
Component/s: None
-
Labels:None
-
Epic Link:
Description
Updates should be made to both the widget and client_widget helpers to support the generation and display of a filter form.
- New property: private InputFields $filters;
- New property: private string $filter_html;
- New property: private string $filter_uri;
- New method: public function setFilters(InputFields $filters, $uri = null) {}
- New method: public function setFilterHtml($html) {}
- The $filter_html should only be used if $filters is not set
- A new toggle button should be added to the widget
- The toggle button should automatically be added to the $link_buttons when setFilters() or setFilterHtml()
- Make sure not to overwrite the currently set buttons
- We may have to figure something out to keep this separate so that users don't overwrite this button