1

I wanted to use jQWidgets number input together with Knockout, but I can't get it to work. I can't even get it to work on their demo page.

No matter how much I change the value, clicking "Get value" only gets the original value. Also, changing the value and then checking and unchecking the disabled checkbox resets the input to the orignal value.

Clicking the "Set value" button only runs a predefined function that sets its value. I'm just curious as to why the observables value isn't changed when you change the inputs value.

Is the widgets Knockout integration borked, or am I just stupid? I've tried the above linked page in Chrome, Firefox and IE11, all with the same result.

If this widget is indeed broken, suggestions to similar "plugins" (masked numerical input) that works with Knockout will be greatly appreciated.

4

1 回答 1

1

根据jQWidgets Release Notes,版本 3.5 中有一个重大更改 - valuechanged 事件被重命名为 valueChanged。然而,jqxknockout 插件中的更改似乎存在问题,但它现在似乎可以正常工作。

于 2014-10-11T08:07:36.550 回答