This topic contains 6 replies, has 5 voices, and was last updated by  Hristo 1 year, 5 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Jqxinput autocomplete error #88894

    gsoares
    Participant

    Hi,

    I have an error following this steps:
    – Writing a text into the jqxinput
    – Clic on the autocomplete proposed value
    – Remove the text of the jqxinput
    – Writing another text that are not in the autocomplete
    – Validate the form

    The value received is always the old autocomplete value, not the written value.

    The issue do not exist if I do not select an autocomplete proposed value.

    I have this issue with 4.1.2 and 4.3.0 version.

    Sincerely.

    Jqxinput autocomplete error #88920

    Christopher
    Participant

    Hi gsoares,

    We followed the steps you wrote in an attempt to reproduce this behavior but we were unable to. The jqxInput val() method always returns the value you’ve chosen from the autocomplete list or the new value that you’ve entered and isn’t present there. Perhaps the issue is in the way you validate the form. Please provide a demo or a code sample so we can see where is the root of the problem.

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

    Jqxinput autocomplete error #88939

    gsoares
    Participant

    Hi,

    I reproduced that with this code (with an DataAdapter):

    http://jsfiddle.net/5tuaccnf/
    (You must enabled cross origine requests on you browser security)

    As you see, if I flollow this steps:
    – Write ana in the textbox
    – Select Ana Trujillo
    – Click on the button –> The correct value is returned
    – Remove the text
    – Write toto
    – Click on the button –> The val() always return Ana Trujillo instead of toto.

    Thank you to help me.

    Sincerely.

    Jqxinput autocomplete error #89028

    admin
    Keymaster

    When you bind it to a data source with Label and Value members, the val() method returns only what is selected, not what is typed, because what is typed may not be part of the data source i.e to ensure that there is a Value that matches the Label.

    Jqxinput autocomplete error #89029

    gsoares
    Participant

    Hi,

    What does this mean ? Is it not a bug ? Will it be fixed ?

    For me it’s clearly a bug: Value displayed != Value returned.

    “the val() method returns only what is selected, not what is typed” –> It’s wrong, it return the typed string until that autocomplete value is selected.

    The same component with an ArrayList seems working as expected, but not with a Datasource.
    With a datasource, it works until the user do select a value from the datasource.

    Sincerely.

    Jqxinput autocomplete error #103702

    tassilo-k
    Participant

    i have the same problem… give it a solution?

    Jqxinput autocomplete error #103786

    Hristo
    Participant

    Hello,

    Could you clarify your issue?
    Please, provide us with an example that demonstrates your case.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.