Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Duplicate Check
Describe the requested feature
It would be very convenient to be able to get control by its key. It is possible to set unique control identifier by providing key in the arguments. However, it is not yet possible to retrieve the control by the key,
control.uid
has to be used instead, which requires Python variable creation and results in more code.Suggest a solution
Existing
get_control(id)
method could be improved by allowing to provide id, or the key of control. https://flet.dev/docs/controls/page#get_controlidAnother option could be to add new method
get_control_by_key(key)
to thepage
.Screenshots
No response
Additional details
No response
Beta Was this translation helpful? Give feedback.
All reactions