Can I define two properties in my Widget Input ? ( and Select ? )

Hello

I tried to create personalize widgets input and select because I can not define the two properties I need in the standard’s widget.

For example I want an Input with : - a default value : x
- a value (like in standard’s widget) : formInput.objectInput.attribute

Default or not I want to get the value at the end.

How can I define these properties in the UI Designer ?
Am I forced to create a personalize widget ? Or is it possible to pre-fill (with the default values) the fields ?

Thank You

Hello - usually we do handle default value leveraging the bidirectional bond between the “value” property and
one variable:

  • Create a variable with the default value (JSON or Javascript type for examples)
  • Set the “value” property of the input to the variable, any input modification will override the default value

Here is some documentation that may help you further: