We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description : Use a widget and provide an observable (let say widgetDDL) that will received the widgetInstance after initialization.
Wrap the html node with an observable that will allow you to destroy the node (ex data-bind="if: myotherObs").
you can see that the kendo's 'detroy' method is call (triggered by domNodeDisposal) ... but the observable still refer the widgetInstance.
I would expect it to be null instead.
Full Example : Html :
<div class="form-group" data-bind="if: DDLEnabled"> <input data-bind="kendoDropDownList: DDLConfig" id="DDLSelection" name="DDLSelection" type="text"></div>
ViewModel:
self.widgetDDL = ko.observable(); self.DDLEnabled = ko.observable(true); self.DDLVal = ko.observable(""); self.DDLDatas = [{ Key: "key1", Value: "val1" }, { Key: "key2", Value: "val2" }]; self.DDLConfig = { value: self.DDLVal, widget: self.widgetDDL, optionLabel: 'Sélectionnez...', data: self.DDLDatas, dataTextField: 'Value', dataValueField: 'Key' };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description :
Use a widget and provide an observable (let say widgetDDL) that will received the widgetInstance after initialization.
Wrap the html node with an observable that will allow you to destroy the node (ex data-bind="if: myotherObs").
you can see that the kendo's 'detroy' method is call (triggered by domNodeDisposal) ... but the observable still refer the widgetInstance.
I would expect it to be null instead.
Full Example :
Html :
ViewModel:
The text was updated successfully, but these errors were encountered: