Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #101444
    edwardsmarkf
    Member

    hello – i see you have the name= option so i can use the combobox to send values via http which works great.
    however, if you fill in your own value, the newly entered value does not seem to forward.  here is an example:
    https://codepen.io/edwardsmarkf/pen/YzpqRdg
    try selecting a coffee and submit, the selected coffee does indeed come through the HTTP request (please search for _REQUEST).
    however when you manually enter one of your own, the _REQUEST is blank.
    i can certainly think of an easy workaround to this merely by excluding the name= option and using a hidden form variable instead, but i wanted to mention it here first to see if there is a better solution.

    #101448
    admin
    Keymaster

    Hi edwardsmarkf,
    We will consider changing the default behavior which is to submit only what’s selected in the dropdown of the combobox.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101454
    edwardsmarkf
    Member

    hello –
    this could potentially confuse a new person since one of the most significant features of the Combobox is the ability for a user to be able to add whatever value they want in addition to being able to select one.
    i am thinking of a workaround using a “hidden” field like so:
    https://codepen.io/edwardsmarkf/pen/YzpqRdg
    what do you think?
    and PLEASE seriously consider changing the default behavior to submit anything the user enters.

    #101458
    admin
    Keymaster

    Hi edwardsmarkf,
    I think that it is fine as a workaround for this Combobox usage.
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

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