-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
useDialogs Make Payload a Node Rather than a String #4336
Comments
You should be able to pass anything as a payload. e.g. you can pass an object as we do internally for the system dialogs. The docs just use a string as an example. Perhaps we need to clarify this in the documentation? |
I can confirm that it's possible to pass any payload, but the |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @aress31 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Summary
The dialog payload specifies that payload is expected to be of type
string
, which feels restrictive. For example, my use case involves passing a complex form as the payload. Expanding support to allow any type of payload would be highly beneficial.Examples
No response
Motivation
Extending the usefulness of
useDialogs
.Search keywords: payload useDialogs
The text was updated successfully, but these errors were encountered: