Is there any way to add “is valid” property or “input should not be empty” functionality to plugin elements.
If possible, it would be very useful and would avoid having to add conditions to workflows. This is a fairly standard requirement that would be best handled natively.
I see this was not possible before here
Cross posted on X here: https://twitter.com/n0c0de1/status/1723905457247703256
you need to add it yourself as a property and exposed state, and handle the validation logic in your code. It will not prevent workflow execution automatically like for bubble inputs, the user still need to use your “isvalid” state in a condition in the workflow
Thanks. This approach isn’t what I’m looking for.
Wish Bubble introduced a native support for plugins elements to be marked valid or not. Forms and custom workflows could magically without having to introduce conditionals for each element. Unfortunately, not yet supported