jQWidgets Forums
Forum Replies Created
-
Author
-
Thanks for the quick answer, Peter.
Though it is a bit inconvenient ;(
June 6, 2017 at 9:21 am in reply to: jqxDockingLayout Angular2 bugs in content jqxDockingLayout Angular2 bugs in content #94132Hi 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.June 1, 2017 at 1:12 pm in reply to: jQWidgets 4.5.1 TypeScript errors jQWidgets 4.5.1 TypeScript errors #94038Hi 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.
June 1, 2017 at 11:10 am in reply to: jQWidgets 4.5.1 TypeScript errors jQWidgets 4.5.1 TypeScript errors #94028Hi Ivo,
actually, we are running 4.6.2 which i believe is the latest version. Am I wrong here?
Best regards,
Dmytro.June 1, 2017 at 9:23 am in reply to: jQWidgets 4.5.1 TypeScript errors jQWidgets 4.5.1 TypeScript errors #94011I’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?
-
AuthorPosts