Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show Taggable option for autocomplete with Simple Custom Defined List #4026

Open
PodsBot opened this issue Mar 5, 2017 · 14 comments
Open

Comments

@PodsBot
Copy link
Collaborator

PodsBot commented Mar 5, 2017

Part of 2.7: #3364

@jimtrue
Copy link
Contributor

jimtrue commented Mar 5, 2017

Since the values of the field are defined in Pods Admin, there's no way for 'taggable' to insert a new field. In testing, the field 'acts' like it should work (ie it allows someone to tag a new value), but it doesn't save the value and doesn't update the field configuration. Taggable shouldn't be an option for Simple Custom Defined List.

@jimtrue
Copy link
Contributor

jimtrue commented Mar 5, 2017

@pglewis pglewis self-assigned this Mar 6, 2017
@pglewis pglewis added this to the Pods 2.7 milestone Mar 6, 2017
@sc0ttkclark
Copy link
Member

Should be excluded on simple objects:
https://github.com/pods-framework/pods/blob/2.x/classes/fields/pick.php#L222

@sc0ttkclark
Copy link
Member

Seems like it should be already:
https://github.com/pods-framework/pods/blob/2.x/classes/fields/pick.php#L167-L180

So something maybe not officially hiding it? Or is it being used from when it was previously set to on when a field was changed from a regular object to a simple one?

@pglewis pglewis changed the title Pick List Simple Custom Defined List does not work with Taggable AutoComplete Don't show Taggable option for autocomplete with Simple Custom Defined List Mar 16, 2017
@pglewis pglewis mentioned this issue Mar 16, 2017
16 tasks
@pglewis
Copy link
Contributor

pglewis commented Mar 16, 2017

Seems like it should be already

It's there, and the appropriate exclude class seems to be in place, but it's being shown. If hidden by choosing another view then re-selecting autocomplete it'll become visible again, so clearly something going on beyond just failing to initially hide it.

@pglewis
Copy link
Contributor

pglewis commented May 6, 2017

I think we've decreed "death to taggable"? Does this issue evaporate with "Kill 'taggable' as an option" as a tasklist item in #4126?

@pglewis
Copy link
Contributor

pglewis commented May 10, 2017

@sc0ttkclark: can we close this one since taggable is going by the wayside?

@sc0ttkclark
Copy link
Member

Indeed

@pglewis
Copy link
Contributor

pglewis commented May 23, 2017

Taggable may live on after all. Just in case, until the decision lands: re-opening.

@pglewis pglewis reopened this May 23, 2017
@pglewis pglewis modified the milestones: Pods 2.7, Pods 2.7.1 Nov 4, 2017
@sc0ttkclark sc0ttkclark modified the milestones: Pods 2.7.1, Pods 2.7.2 Dec 7, 2017
@pglewis pglewis modified the milestones: Pods 2.7.2, Pods Future Release Apr 11, 2018
@pglewis
Copy link
Contributor

pglewis commented Apr 11, 2018

Still no idea what we're doing here. Moving to future release until we can specify what's to be done.

@jimtrue
Copy link
Contributor

jimtrue commented Apr 11, 2018

For Simple Custom Defined Lists, the only 'interface' to edit the choices in the Simple Custom Defined List is in the Pods Admin at the field level. So they can't have 'Add' or 'Edit' or anything that allows them to change the choices. They should only be able to select and de-select options.

@jimtrue
Copy link
Contributor

jimtrue commented Apr 11, 2018

Maybe change these fields to only be checkbox or select and not allow List View or Autocomplete? Or make sure that List View/Auto Complete makes sure 'Add New' 'Edit' is not allowed?

@pglewis
Copy link
Contributor

pglewis commented Apr 11, 2018

This issue is specifically about the taggable option for autocomplete fields.

The taggable dependency doesn't work consistently as is and I have never tracked down why:

It's there, and the appropriate exclude class seems to be in place, but it's being shown. If hidden by choosing another view then re-selecting autocomplete it'll become visible again, so clearly something going on beyond just failing to initially hide it.

I think other options involving custom defined lists might be better in a separate issue from the programming perspective because taggable alone has specific issues that need to be worked out (like, are we even keeping it).

@jimtrue
Copy link
Contributor

jimtrue commented Apr 11, 2018

Specifically in relation to Simple Custom Defined Lists. I opened this one; I know what it refers to ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants