cancel
Showing results for 
Search instead for 
Did you mean: 

Button trigger: Make text input optional directly from Flow editor

It would be nice to make a text input optional when using the flow button trigger.

 

In my case I would like to present a list of options to the user but also a manual input field. If the value the user wants to enter is not on the list, he could manually enter it. So one of the input fields should always remain empty. (in case both are filled, I can implement an "manual input wins" logic in the flow...)

Unfortunately, both input values are marked as required when running the flow 😕

 

UPDATE:

I just found out, exporting the flow and directly editing the definition.json works (but it still would be nice to do that directly from within the flow editor):

Spoiler
"triggers": {
    "manual": {
        "type": "Request",
        "kind": "Button",
        "inputs": {
            "schema": {
                "type": "object",
                "required": [],
                "properties": { ... }
             }
         }
     }
},

(I removed the values inside the "required" tag)

Status: New
Comments
Level: Powered On

Thanks for the workaround!