Select Advanced with select2 ption Tags = true not saving data

Support General Select Advanced with select2 ption Tags = true not saving data

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30916
    info@ieceetee.nl[email protected]
    Participant

    When selecting the select advanced field i want to give the user the ability to add their own options if there is no match in the choices list.

    The field accepts the custom input from the user with the select2 option tags=true but does not save it in the database. The option multiple is on.

    What am i missing or is this not possible at all?

    #30927
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The field select_advanced does not support adding a new option value if it does not exist. You can use the field taxonomy or taxonomy_advanced to create a new term when submitting a post. Please read more on the documentation
    https://docs.metabox.io/fields/taxonomy/
    https://docs.metabox.io/fields/taxonomy-advanced/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.