[Feature Request]: add property to show/hide X (close) button on sdds_modal
Closed this issue · 4 comments
Requirements before reporting
- No duplicated issue reported
- I have read the contribution guidelines
- I have checked the lastest version if the feature exist there
Type of feature request
Functionality
What is your feature request?
In some situations I would like to control how the user closes a modal/dialog so he is forced to use the action buttons so the application doesn't enter an inconsistent state. As there is no callback option when the dialog is closed, giving an option to hide the X on the right top corner of the modal would be great.
Background
Make the migration easier when implementing existing application behaviors.
Idea
No response
Goals and objectives
No response
Timeline
No response
Resources
No response
Contact information
Hi! It is a UX decision to always have a close button on the modal, and therefor we will not be implementing this.
Hi, if you guys don't want to implement a simple feature like this, at least implement a closeModalEvent that is triggered when that X button is invoked. The way the current modal works it lacks programmatic control over its actions and that makes it hard to migrate existing functionality to sdds/tegel.
Hi, if you guys don't want to implement a simple feature like this, at least implement a closeModalEvent that is triggered when that X button is invoked. The way the current modal works it lacks programmatic control over its actions and that makes it hard to migrate existing functionality to sdds/tegel.
I will take that feature request to the team and we'll see what we can do.