Input Init Value Problem

Using an input component, such as the one in the Web Starter Kit, we have problems exposing the initvalue in the value variable when working with a collection value. Basically, when we have a collection in the initial value, it seems that the trigger is triggered to fill the Value variable, but it does not actually fill it.

Is there a solution for this?

Can you share some screenshots?

In the component we have the init value, which connects with the init value of the input.

In the same component there is a variable to display the value typed or inserted in the input

If I fill in the init value directly, when the page loads, the on mounted trigger is fired and the value of the init value is added to the value variable.


However, I need this input to be filled with the value that is in a collection. An example follows:

However, when I load the page, the collection’s ini value is filled in but not added to the Value variable that exposes the value. As we can see in the last image.



any clues?
@Raphael
@Joyce
@Mael

Hi @notis - it looks like the collection is not fetched completely when the input field is mounted on the page. You can try to add this workflow to On property change (Init value) event of the component. I’m using it this way and it is working.

I tried these possibilities. It seems like something internal to the web.

You need to add an On property change workflow, that triggers when your property called Init value changes, so that it reacts to the change and gets propagated to the variable value. Check out the attached screenshot. I always do both On mounted and on On [property] change.