Allow specifying custom dictionary keys for event input. #10171
Labels
enhancement
New feature or request
needs designing
The proposed feature needs to be discussed and designed before being implemented
Is your feature request related to a problem? Please describe.
When using dictionaries as event inputs in Gradio, we can only use component objects themselves as dictionary keys. This makes it difficult to separate event handling functions from component creation code, as the functions need direct access to the component objects.
Describe the solution you'd like
Allow specifying custom string keys when using dictionaries as event inputs.
The text was updated successfully, but these errors were encountered: