I do form with fields *year, month* and another some fields which must be 
loaded from table in database if year and month != ''.
I know how to make that with vue attributes, but cun't create them inside 
function in controller. Villas, your example is the same - not work. If I 
add **{'_data-test': 'test'} - work, **{'_v-model': 'year'} - not work.

вторник, 22 сентября 2020 г., 20:50:15 UTC+3 пользователь Константин Комков 
написал:
>
>
> I don't know but it's not working:
>
> SELECT(*years, _name='year', _id='year',
>        requires=IS_INT_IN_RANGE(request.now.year - 1, request.now.year + 1,
>                                 error_message="Year isn't correct!'"),
>        _class='form-control', **{'_v-model': 'year'})
>
>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/49f66dfb-b179-40a2-851e-c854b94bd78bo%40googlegroups.com.

Reply via email to