Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4427 Представления

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
7027
1
мая 17
10092
2
янв. 16
5250
3
дек. 22
7738
4
февр. 16
4574