IgniteUI / ignite-ui

Ignite UI for jQuery by Infragistics
https://bit.ly/2kuu1fT
Other
477 stars 83 forks source link

Knockout igEditorDisable binding does not work for the first time the page is loaded. #2109

Closed mkamiishi closed 3 years ago

mkamiishi commented 3 years ago

If the initial value is false, igEditorDisable binding does not work on load. The binding works properly with knockout 2.3.0 or earlier. This is reproducible with ignite-ui-20.2.20.2.16.

Steps To Reproduce: Run the attached sample.

Actual Result: The editor is enabled.

Expected Result: The editor is disabled.

sample.zip

mkamiishi commented 3 years ago

igEditorDisable should be set after initializing the editor as illustrated in the help document. https://www.igniteui.com/help/configuring-knockout-support-(editors)#_Configuring_Disable_Handler