Skip to content

When Submitting Advanced Select with apiUrl the title is submitted instead of the value #481

Closed
@x9sim9

Description

@x9sim9

Summary

The select submits the title instead of the value when using apiUrl

Steps to Reproduce

https://preline.co/docs/advanced-select.html#remote-data

Using the example provided, its setting the option values like this
<option value="Essence Mascara Lash Princess" data-id="1"

instead of like this
<option value="1" data-id="1"

Demo Link

https://preline.co/docs/advanced-select.html#remote-data

Expected Behavior

<option value="1" data-id="1"

Actual Behavior

<option value="Essence Mascara Lash Princess" data-id="1"

Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions