How can I achieve this functionality in Vdesigner2?

I want to select a date from a date picker, and the selected date should be added to the list. When selecting another date, the new date should also be added to the list. On clicking the close icon, the corresponding date should be removed from the list.
image (5)

1 Like

@Neeraj_Kumar
You have achieved this in HT media so please look into this.

1 Like

Hi @Sunil_Thapa, you can follow these steps:

  1. Create an entity and store this JSON:
    “Date_picker”: [
    {
    “date”: “string”
    }
    ]

2.Drag the date picker and list onto the Canvas.
3. In the OnSelect event of the date picker, use the Load Entity task.
image
4. Then, use the Copy Data task.


5. Reset the date picker and reload the list.
6. Map the “Date_picker” entity to the list and add text to the list. Rename the text field to “date.”

If you want to remove a date from the list, use load the current entity and delete the entity.

14 Likes