Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[next] feat(NcDialogButton): Allow to return false from callback to keep dialog open #6035

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Aug 31, 2024

Backport of #6005

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot requested review from ShGKme, st3iny and susnux August 31, 2024 19:37
@backportbot backportbot bot added enhancement New feature or request 3. to review Waiting for reviews feature: dialog Related to the dialog component labels Aug 31, 2024
@raimund-schluessler raimund-schluessler added this to the 9.0.0-alpha.6 milestone Jan 14, 2025
…ialog open

If the callback returns `false` then the click event will not be forwarded.
This could be usful if the click triggers a validation that fails and the user
should be able to fix the issue.

Co-authored-by: Ferdinand Thiessen <[email protected]>
Co-authored-by: Grigorii K. Shartsev <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the backport/6005/next branch from 78a42a1 to 28860a1 Compare January 20, 2025 11:12
@susnux susnux marked this pull request as ready for review January 20, 2025 11:12
@susnux susnux merged commit 6beb1a0 into next Jan 20, 2025
21 checks passed
@susnux susnux deleted the backport/6005/next branch January 20, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request feature: dialog Related to the dialog component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants