Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Allow empty selection in combobox with SB List Person field

Posted on by 94

I have built a simple asset management SharePoint List with a PowerApps front end.

 

In PowerApps I have a combobox (in a form) that links to a person field in a SharePoint list.

 

I can add people into this combobox box no problem, but it seems I'm unable to change it back to a blank box.  (I can only change it to another active user).

 

Thanks,

Rob

 

 

Categories:
  • RobChilds Profile Picture
    RobChilds 94 on at
    Re: Allow empty selection in combobox with SB List Person field

    Thanks @BhargavPatel @WarrenBelz 

     

    I think I must've changed the datacard in some way as removing it and re-adding (and then saving) it seems to now be working.

     

    I couldn't see what I had changed but clearly I must have!

     

    Thanks kindly,

    Rob

  • WarrenBelz Profile Picture
    WarrenBelz 143,297 on at
    Re: Allow empty selection in combobox with SB List Person field

    @RobChilds ,

    If you have not turned on your Formula Level Error Management, try doing this

    WarrenBelz_0-1714796446840.png

    Other than that, assuming you have not changed the Items or DefaultSelectedItems from what Power Apps set initially, it should work.

  • Verified answer
    BhargavPatel Profile Picture
    BhargavPatel 604 on at
    Re: Allow empty selection in combobox with SB List Person field

    @RobChilds I was able to remove the selected person using SubmitForm( ) function.

    3FB66AFF-508D-4B9D-AC31-546309A45DC6.GIF

    Is your people field single or multi selection?

    Please also try removing the DataCard and then add it back to the form, save, and publish the app. 

  • RobChilds Profile Picture
    RobChilds 94 on at
    Re: Allow empty selection in combobox with SB List Person field

    @BhargavPatel - SubmitForm()

     

    Thanks,

    Rob

  • BhargavPatel Profile Picture
    BhargavPatel 604 on at
    Re: Allow empty selection in combobox with SB List Person field

    @RobChilds Are you using the SubmitForm( ) or Patch( ) function to create/update the record?

  • RobChilds Profile Picture
    RobChilds 94 on at
    Re: Allow empty selection in combobox with SB List Person field

    @BhargavPatel - I can click the x in the ComboBox (in the form/datacard),  but it doesn't submit it to the SharePoint List.

     

    Thanks

     

     

  • BhargavPatel Profile Picture
    BhargavPatel 604 on at
    Re: Allow empty selection in combobox with SB List Person field

    @RobChilds Are you not able to cancel the selected option after you click on the dropdown?

    E999EBC1-EAA0-48FD-80B1-D3BD12C51BD4.GIF

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard