alleyinteractive / alleyinteractive/wordpress-fieldmanager

Select / Chosen type_ahead incompatible with Term datasource

Open
#244 7 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
563
Forks
99
PR merge metrics
No merged PRs in 30d

Description

In our Post's term fields, we want to persist the assigned order so the first term assigned to a Post can be considered the "primary" term. Fieldmanager's Select Field with `type_ahead` and the term data source only works part of the way for this.

Using Chosen, I can assign terms to a post in arbitrary order. The terms are saved to the database correctly. However, because the `` is built with `` taxonomy terms in alphabetical order, my specified order is ignored for display (and lost when I save the post).

But, I think the bug is that `use_ajax` doesn't work with Chosen. For my term data source, I don't want to load all of the terms at once because it's a performance issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.