cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Blank field on new form with dropdown

Hi

If I add new record with a classical form using NewForm(EditForm1);;Navigate(EditScreen1; ScreenTransition.None), all classical fields are empty except the dropdown based on my table with in items Distinct(TableauHeures;IADE)

The dropdown always displays the first value of the table but with a new record, I wish have a blank field.

Do I nedd to add a blank value in my table or is there any other way like in items somthing like: "" & Distinct(TableauHeures;IADE) ?

Thanks a lot for help

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Blank field on new form with dropdown

Hi,

 

You need to add Blank as a value inside the table.

Please consider the following steps:

1. Add the following formula under OnVisible property of the EditScreen1:

ClearCollect(Data1,{Result:""});Collect(Data1,Distinct(TableauHeures;IADE))

2. Sepcify Data1 under the Items property of the Dropdown control:

Data1

Doing it in this way should be able to have the Dropdown display blank as the default value.

32.PNG

 

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Blank field on new form with dropdown

Hi,

 

You need to add Blank as a value inside the table.

Please consider the following steps:

1. Add the following formula under OnVisible property of the EditScreen1:

ClearCollect(Data1,{Result:""});Collect(Data1,Distinct(TableauHeures;IADE))

2. Sepcify Data1 under the Items property of the Dropdown control:

Data1

Doing it in this way should be able to have the Dropdown display blank as the default value.

32.PNG

 

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,118)