Ensure the ButtonField can fire events again.
What is in this MR
When the ButtonField
stopped implementing the element
mixin, it lost the ability to trigger events. Ideally, we should spin off a new workflowAction
mixin, but as we have a release coming up in soon, it'd be safer to re-use the element
mixin inside collectionField
.
How to test this MR
- Create a button field, assign it actions, and confirm they dispatch on click.
- As the
collectionField
mixin was changed, a test of each other collection field type would be a good idea, just confirm they work as intended.
Merge Request Checklist
-
A changelog entry has been created if required. -
New/updated Premium/Enterprise features are separated correctly in the premium or enterprise folder -
The latest Chrome and Firefox have been used to test any new frontend features -
Documentation has been updated -
Quality Standards are met -
Performance: tables are still fast with 100k+ rows, 100+ field tables -
The redoc API pages have been updated for any REST API changes -
Our custom API docs are updated for changes to endpoints accessed via api tokens -
The UI/UX has been updated following UI Style Guide