Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4241 มุมมอง

Hello everyone,

How we can return value with warning with api coding standard.

I have used this decorator.

     api.onchange('fields')


1) returned the warning using Warning class. before write the value of fields using self couldn't work.

2) Used the old standard , return the dictionary with both information togather, values and warning doesn't works.


Is there any ways to achieve this in v8 coding standard. in old coding standard its working perfectly, I believe it should also work in v8.  does anybody has idea about this?

Thanks in advance,

Anil.



อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ส.ค. 23
6836
1
พ.ค. 17
9979
2
ม.ค. 16
5069
How to set domain in field on page load? แก้ไขแล้ว
3
ธ.ค. 22
7597
4
ก.พ. 16
4450