Skip to main content
June 1, 2023
Question

How to start a for each in 1

  • June 1, 2023
  • 5 replies
  • 0 views

Hi, I am trying to make this list start with a default contact, does anyone have any idea how to do it?

5 replies

stefanhelzle0001
Brainy
June 1, 2023

You need to pre-populate your rule input with actual data. Trying to manage default values inside the UI component is NOT the way to go.

harshitb6843
June 1, 2023

Sorry, but I don't understand the problem. Can you elaborate a little, please?

June 1, 2023

A user can add some contacts in the application and I want to always have a default contact, because you can add contacts using the button "Agregar contacto", but as there will always be a contact I want instead of this empty one always appears, but without data, I show you how it comes out when you start the application and how I want it to be.

As it appears in this photo, I want it to appear by default.

I don't know if I have explained myself well

harshitb6843
June 1, 2023

Then you will have to add that CDT in the contactos RI from the process itself before this ask is assigned.