Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4397 Lượt xem

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.



Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 8 23
7026
1
thg 5 17
10087
2
thg 1 16
5244
3
thg 12 22
7734
4
thg 2 16
4569