jQWidgets Forums

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Forum thread updates Forum thread updates #94137

    Dmytro Gokun
    Participant

    Thanks for the quick answer, Peter.

    Though it is a bit inconvenient ;(


    Dmytro Gokun
    Participant

    Hi Ivo,

    I also observe this behavior. It is very easy to reproduce. For that, take the demo under “demos\angular\app\dockinglayout\createComponent\” and:

    1. In app.component.ts, add a field to the class AppComponent: text = “sample”;
    2. In app.component.html, add this code:

    <input type="text" [(ngModel)]="text">
    {{text}}

    two times: 1) outside of the jqxDockingLayout compinent (e.g. at line 1) and inside of it (e.g. in ErrorListPanel);

    3. Modifying the first input (one outside of the jqxDockingLayout component) updates the bound variable as expected;
    4. Modifying the second input (one inside of the jqxDockingLayout component) does not update the bound variable.

    Is there any chance this will be fixed any time soon?

    Best regards,
    Dmytro.


    Dmytro Gokun
    Participant

    Hi Ivo,

    that’s helped. Thank you very much!

    Though I must admit this situation is a bit confusing 🙂 Is it always recommended to download jqwidgets manually (as opposed to using npm) or is it a temporarily situation?

    Dmytro.


    Dmytro Gokun
    Participant

    Hi Ivo,

    actually, we are running 4.6.2 which i believe is the latest version. Am I wrong here?

    Best regards,
    Dmytro.


    Dmytro Gokun
    Participant

    I’d like to say that we have the same issue.
    Our app references (implicitly, because of another dependency we have) “@types/jquery”. This makes compilation fail with the following message:

    jqwidgets-ts/jqwidgets.d.ts (9,13): Subsequent variable declarations must have the same type. Variable ‘$’ must be of type ‘JQueryStatic’, but here has type ‘any’.

    I think, jqwidgets should also reference “@types/jquery” to be a good citizen in the TypeScript world :). The change looks trivial on its surface … Is there any chance for that happening in the near future?

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