SuiteCRM-Core/config/services/ui/ui.yaml
Clemente Raposo 690162a2ce Add modal button group component
Component is meant to by used by the modals that have buttons
Allows to implement a dynamic way to declare modal buttons.
Each button onClick call back receives the activeModal.
Allowing to close or dismiss the modal on the onClick callback

- Re-use scrm-button-group
- Extend button group and button interfaces
-- Override the onClick handler to receiving the active modal
-- Inject the active modal to the button callbacks
- Allow for a configurable breakpoint using the config:
-- ui.modal_buttons_collapse_breakpoint
- Add karma/jasmine tests
2021-03-30 19:22:36 +01:00

4 lines
80 B
YAML

parameters:
ui:
alert_timeout: 3
modal_buttons_collapse_breakpoint: 4