تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4916 أدوات العرض

I have a selection widget with several items that happen to be names of different models, on selecting a model, I want to trigger an act_window based on that model so how can we trigger an action from on_change function?

As far as I'm aware, it only reads "value", "domain" and "warning". I want similar functionality to a button "type=object" where we can simply return the action and everything works fine but I'm having no luck reproducing this from an on_change method.

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

this is not possible in an on_change function.

Bye

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 22
2674
0
مايو 21
4293
0
أكتوبر 24
1028
1
مايو 22
3156
3
يوليو 20
9518