Restrict Format of variable Input


i am using a variable Input Element to let the User freely decide on a name of a new component.
But i want to restrict the input to a certain Format: “yyyy-mm”.

Is this somehow possible?


Hi, does this somehow help you?

It is not clear for me how to use this in a variableInput, the options are kpi, table, html and chart

As far as I know, restrictions, warnings and errors are best handled by a function in your corresponding project. So a python code. You may not be able to directly control an input from a front end perspective. But you still can control the execution of related resources (WFs, PLs, etc)