Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
4250 Tampilan

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.



Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Agu 23
6845
1
Mei 17
9985
2
Jan 16
5083
3
Des 22
7601
4
Feb 16
4450