-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add confim() #1371
Comments
If you use Vue then I recommend simply directly using If not you can use this library, as the replacement for the deprecated function is to use the |
Thanks for pointing that out. Note: unfortunately, |
TODO: * typing: check whether typing "tokenToBeWiped" is possible without as as IToken | null (otherwise it's not nullable). Object as PropType<IToken | null> did not work. * styles: confirm/cancel positioning From nextcloud-libraries/nextcloud-dialogs#1371 (comment)
Background
OC.dialogs.confirm
is to be deprecated in Nextcloud 30, but it's not yet included in the dialogs packageconfirm()
was also never declared in typingsRequest
confirm()
Workaround
Adding this as
src/oc.d.ts
to a typscript-able app:The text was updated successfully, but these errors were encountered: