I need to clean my dropdowns when I click the new button.
1. My screen datatable
2. My editform when clicking the "New" button
Thank you very much for your help
Solved! Go to Solution.
Drop downs will have defaults that you can set. If you are using Forms. When clicking New Button. Set the Onclick property to NewForm(FormName) and this will reset your form and all its fields.
Thank you very much for answering,
I try to do is the following:
"When clicking on new, my dropdown list does not have any value selected"
1. I am using a drop down list
2. The data is loaded from the sharepoint.
What I would like to know is: can the dropdown be configured to be blank or not have a selected value?
If it is not possible, then the solution would be: Add an item to the table that is always configured by default when loading the newform?
But if I do that, I must also consider validations like:
The record can only be saved as long as it is different from the default value that I have in my dropdown list
thank you very much for your help
Yes you can add blank rows to a drop down. You first need to create a collection that:
1 - Adds a blank row to the collection then
2 - Adds the rows from the SharePoint List.
Creating the Collection will look something like this:
Then in your DropDown just reference the collection.
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.
Darren Lutchner - 365 Assist
Keep up to date with current events and community announcements in the Power Apps community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!