---
id: 1789
title: 'dialog.Base: closeAction config'
state: CLOSED
labels:
  - enhancement
assignees:
  - tobiu
createdAt: '2021-04-15T15:50:10Z'
updatedAt: '2021-04-15T16:04:33Z'
githubUrl: 'https://github.com/neomjs/neo/issues/1789'
author: tobiu
commentsCount: 0
parentIssue: null
subIssues: []
subIssuesCompleted: 0
subIssuesTotal: 0
blockedBy: []
blocking: []
closedAt: '2021-04-15T16:04:33Z'
---
# dialog.Base: closeAction config

we need a new config to define what happens in case you click on the close button.

{String} "hide" or "close"

## Timeline

- 2021-04-15T15:50:10Z @tobiu added the `enhancement` label
- 2021-04-15T15:50:11Z @tobiu assigned to @tobiu
- 2021-04-15T15:55:57Z @tobiu referenced in commit `3271863` - "dialog.Base: closeAction config #1789 including a beforeSetEnumValue() check"
- 2021-04-15T16:03:45Z @tobiu referenced in commit `6562c43` - "#1789 dialog.Base: closeOrHide()"
- 2021-04-15T16:04:33Z @tobiu closed this issue

