I have some widgets (eg. text_input) which will be updated, edited multiple times by different people. I need to have a conversation recorded around the data entered in each of those widgets (as depicted in the following picture) at different points in time. For now, each widget has an associated button in the neighbouring column connected to a dialog.
Q1. Is there a cleaner way to implement this?
Q2. Would love to attach this dialog to the help parameter of the widget. That way I also have the option to include great / descriptive help text. Is this possible? maybe in the near future?
Cool use case!
To Q1: if you have a dedicated dialog-decorated function per widget, it might make sense to just have a single dialog function and pass in the widget-id as an argument and retrieve the relevant data based on that (maybe this is how it is already though!)
To Q2: I cannot think of a possibility for this right now with the existing help parameter as it only accepts a string It should be possible to write a custom component for this though. Other than that, it might make sense to open a GitHub issue for the feature request and vote on it
To 1: Yes, I had planned to eventually have a common function and pass the widget_id - this was just a prototype of what I wanted.
To 2: Will make an entry on Github.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.