jQWidgets Forums

jQuery UI Widgets Forums Angular jqxInput

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    jqxInput Posts
  • jqxInput #103281

    _ar_
    Member

    Hi,
    Multiselect jqxInput: Can the suggestions come from the server. Is there a callback, so that a call can be made to a server and the suggestion are given as input to the jqxInput.

    jqxInput #103290

    Peter Stoev
    Keymaster

    Hi rajeshgupta,

    You can use our jqxInput’s API to dynamically set the auto-complete dropdown’s data source. The source property can be set to a function. Example: https://stackblitz.com/github/jqwidgets/angular_demos/tree/master/input/multiplevalues/.

    Hope this helps.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

    jqxInput #114324

    alexisdcarvajaln
    Participant

    I have a question.
    I want to create jqxInput component with this sentence:

    jqwidgets.createInstance("#txtInputCosto",'jqxInput',{ height:50 });

    In my file html I have this
    <div id="txtInputCosto"></div>

    But in the console show me this.

    core.js:15724 ERROR Error: jqxInput: Missing Text Input in the Input Group
        at c.<computed>.render (jqxinput.js:8)
        at c.<computed>.createInstance (jqxinput.js:8)
        at Object.push../node_modules/jqwidgets-scripts/jqwidgets/jqxcore.js.b.jqx.applyWidget (jqxcore.js:15)
        at HTMLDivElement.<anonymous> (jqxcore.js:15)
        at Function.each (jqxcore.js:8)
        at init.each (jqxcore.js:8)
        at init.b.fn.<computed> [as jqxInput] (jqxcore.js:15)
        at Object.createInstance (jqxcore.js:15)
        at SafeSubscriber._next (detalle-registro-tramite.component.ts:382)
        at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:192)

    Can you help me?

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

You must be logged in to reply to this topic.