-
Questionui.upload component does not support the bind_props (?) so how to dynamically set a filer filter for example using a ui.selector.value? |
Beta Was this translation helpful? Give feedback.
Answered by
frankvp11
Jan 2, 2025
Replies: 1 comment 2 replies
-
You can just remove the prop and add a new one, like this: |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pirx3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just remove the prop and add a new one, like this:
element.props(remove=".md", add=".txt")
. Note, I didn't test that code 😅 . Then just refresh the element, usingelement.update
. If you could give a MRE I can probably help you?