cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
zmansuri
Super User
Super User

Save null value in choice field

q5.jpgq6.jpg

 

I have dropdown in form. Update property of that datacard is Dropdown1.Selected.

AllowEmpty is true in dropdown.

but when i empty the dropdown and save the form it doesn't store null value in sharepoint. but, keeps the old value

---------------------------------------------------------------------------------------------------------------------------


Was I helpful? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. It will help other users to find it faster.

follow me on Twitter @zmansuri123,
connect with me on LinkedIn from Here

2 ACCEPTED SOLUTIONS

Accepted Solutions
ScottShearer
Super User
Super User

@zmansuri 

Please take4 a look at this post as I believe it provides a solution to your issue.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

StalinPonnusamy
Super User
Super User

Hi @zmansuri 

 

I just tested and works

If(
    !IsBlank(Dropdown1.Selected.Value) && Len(Dropdown1.Selected.Value) > 0,
    Dropdown1.Selected,
    {Value: ""}
)

 

Choice field expects Value : {}

View solution in original post

2 REPLIES 2
ScottShearer
Super User
Super User

@zmansuri 

Please take4 a look at this post as I believe it provides a solution to your issue.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
StalinPonnusamy
Super User
Super User

Hi @zmansuri 

 

I just tested and works

If(
    !IsBlank(Dropdown1.Selected.Value) && Len(Dropdown1.Selected.Value) > 0,
    Dropdown1.Selected,
    {Value: ""}
)

 

Choice field expects Value : {}

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,330)