I am new to powerapps. Here I am trying to create a simple leave tracker app which allows users to select the type of leave and the corresponding dates.
I have to collect 3 details username, leave type and corresponding dates for the leave type.
I have two dropdowns.
One is for leave type and the second is for dates.
The second dropdown should be multi select one. The user should be able to select multiple dates(random dates not continuous) for a particular leave type. For this i used method mentioned in this post (https://www.enjoysharepoint.com/powerapps-multi-select-dropdown/#:~:text=To%20build%20a%20multi-select%20Power%20Apps%20dropdown%20control%2C,with%20the%20SharePoint%20data%20source%20i.e.%2C%20Workers.%20).
Now the issue I have is with this mutliselect dropdown.
I tried to save the values in to collection for that I used - ClearCollect(collection1,{Dates:DataCardValue1.SelectedItems})
Now the issue is i am not sure how it will be stored in the collection and how to retrieve it.
I need help with two questions.
First how selected items(multiple) will be stored in the collection. And how can I retrieve the values?
- Second is if there any other better way to accomplish this?

Report
All responses (
Answers (