You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
As the title says, some components do not have a boolean parameter like other components (gr.TextBox, gr.Dropdown, gr.Radio, gr.Checkbox, etc.) to control whether the user can edit its value. I have only found two such components as mentioned in title so far, but there may be more components that have this problem.
Describe the solution you'd like
Add an interactive: bool parameter to these components to explicitly control whether the component can be edited.
Additional context
My motivation is as follows. Consider these two scenarios:
Your application requires multiple phased steps, and you only want the parameter input controls of the subsequent steps to become interactive after the previous step is successfully completed.
You are very clear that a component is only used to display output, and you don't want users to modify (perhaps accidentally) its displayed value.
The text was updated successfully, but these errors were encountered:
Hi @Isuxiz the gr.JSON component doesn't support any interactivity (you can't edit the value), so I don't think an interactive parameter is needed for that component. But I do agree that gr.Datetime should have this parameter
abidlabs
changed the title
gr.JSONgr.Datetime need param interactive: boolgr.JSON is missing a param interactive: boolNov 16, 2024
abidlabs
changed the title
gr.JSON is missing a param interactive: boolgr. Datetime is missing a param interactive: boolNov 16, 2024
Is your feature request related to a problem? Please describe.
As the title says, some components do not have a boolean parameter like other components (
gr.TextBox
,gr.Dropdown
,gr.Radio
,gr.Checkbox
, etc.) to control whether the user can edit its value. I have only found two such components as mentioned in title so far, but there may be more components that have this problem.Describe the solution you'd like
Add an
interactive: bool
parameter to these components to explicitly control whether the component can be edited.Additional context
My motivation is as follows. Consider these two scenarios:
The text was updated successfully, but these errors were encountered: