combo webix-event onChange not fired on controller

On my markup I have defined a combo change event handler as follows:

<div view="combo" id="languageCombo" label="{{'Language'|translate}}" 
webix-data="languageCultures" 
webix-event="onChange = getNotificacionTemplate(newv, oldv)"></div>

On the controller, $scope.getNotificacionTemplate is not being hit when the combo selection changes. Any thoughts?

Hello,

Please, check the following snippet: http://webix.com/snippet/e6e5818b

Note that Webix-Angular integration requires specific parameters for handlers of Webix events, id and details. See also this sample.

cheers for that - I have modified our html accordingly and the event now fires - see http://webix.com/snippet/296a8249. Unfortunately the combo is not rendering ok any more due to now having a webix-ui attribute.

In http://docs.webix.com/desktop__angular.html it says ‘Note that any HTML outside “webix-ui” block is parsed as standard markup while a div with webix-ui attribute constructs Webix app.’ - what are the rendering implications of this?

Hi, please check the updated snippet

http://webix.com/snippet/ebc3a799

When you are using webix-ui directive, lib starts a new interface block at this point, which looks as static HTML for the parent block. So the most problematic side-effect of nested webix-ui usage is a broken sizing. The parent component can’t correctly detect a size of child webix-ui block and visual rendering degrades.