Hi, I'm glad your code is working. However, as I am still not clear on what you want, I hope someone more familiar with vuejs will be able to assist. Best wishes.
On Thursday, 24 September 2020 at 18:18:08 UTC+1 Константин Комков wrote: > Thank you, for your attention *Villas*. I don't ask your rewrite my code) > My code is working. > > 1. Validator IS_INT_IN_RANGE good work not only in SQLFORM. > 2. Function get_help_id() getting name from form.vars - ('help_1', > 'help_2', ... , 'help_17', 'help_18'). > > I just want to add in my form additional usability. For that task I neded > add attributes in FORM and it was my question. And I don't find solution > yet. > But as variant I can add attributes in javascript and then use vuejs. > > Javascript: > > let year = document.getElementById('year'); > let month = document.getElementById('month'); > year.setAttribute("v-model", "year"); > month.setAttribute("v-model", "month"); > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/79accf71-f299-4ba7-b3c9-1d93d4de385an%40googlegroups.com.