pods-framework / pods

The Pods Framework is a Content Development Framework for WordPress - It lets you create and extend content types that can be used for any project. Add fields of various types we've built in, or add your own with custom inputs, you have total control.
https://pods.io/
GNU General Public License v2.0
1.07k stars 265 forks source link

Autocomplete Single Select relationship field has no UI capacity to clear the selection #6338

Open deckblad opened 2 years ago

deckblad commented 2 years ago

Description

If a related post has been selected on an autocomplete relationship field of type Single Select, there is no apparent way by which that value can be cleared.

I suggest adding an "x" similar to how the multi select autocomplete UI works

Version

2.8.6

Testing Instructions

Create a field of type relationship. Leave Required unchecked. Set Selection Type to "Single Select" Set Input Type to "Autocomplete"

Screenshots / Screencast

No response

Possible Workaround

I can instead use Single Select with List View.

Site Health Information

No response

Pods Package

No response

sc0ttkclark commented 2 years ago

We'll want to retest this after Pods 2.8.9 goes out to see if it resolved this.