Skip to Content
Menu
This question has been flagged
3682 Rodiniai

Hi,
I have added a custom widget in view by <widget name="my_widget"/> and in js added my adding  it to 'web.widget_registry'. for example: widgetRegistry.add('my_widget', MyWidget);
How to get parent view data, its onchange values to the widget?

I have tried extending the widget with FieldManagerMixin and initiated it in init method. Also added custom_event 

custom_events: _.extend({}, FieldManagerMixin.custom_events, {
field_changed: '_onWFieldChanged',
}),

but no call is happening when a field value is changed.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
saus. 25
7222
1
liep. 24
2297
0
bal. 24
1753
1
bal. 24
3140
1
gruod. 23
5699