This topic contains 3 replies, has 2 voices, and was last updated by  logs 8 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • jqxInput issue autocomplete #87805

    logs
    Participant

    Hello everybody,
    Two days i am trying to solve a problem occurred in jqxinput using autocomplete option here my scenario:
    1 – I load a big local data source to my input successfully.
    2 – I try to search an item , i found it and i select it then i get the item ( value and label) successfully.
    3 – I try to search for unknown item, i know it will not be founded, but when i want to get the label that is not founded i get the old item.
    The problem is i don’t want to get the old item i want to get the label that is not founded so i can use it in other purposes.
    Thanks, Regards.

    jqxInput issue autocomplete #87814

    Hristo
    Participant

    Hello logs,

    You could try to set value in the Input with renderer property of the Input and after that return value that you want (“unknown item”).
    Should check in ‘if’ statement what is entered value.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    jqxInput issue autocomplete #87824

    logs
    Participant

    Thanks for your reply,
    I tried your example with adding a console.log(value) before return value .
    So when i type for example in the input YYYYYY the console does not display this label.
    I really need your help if you know how to resolve this problem.
    Regards.

    jqxInput issue autocomplete #87827

    logs
    Participant

    I solved the problem by getting the label using the last query submitted.
    Thanks all :))

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

You must be logged in to reply to this topic.