Hello All,
In my case widget and list: string Field is not working properly.
*Case 1 (Without Widget)*
In this case, my form work proply with list:string Field
# db.py
db.define_table('content_ck',
Field('title', length=255),
Field('public_ck', 'boolean', default=True),
Field('text_ck', 'list:string')
)
#default.py
form = SQLFORM(db.content_ck)
*Case 2 (With Widget)*
In this case, my form does not append new Field after enter value in
text_ck Field even (+ - ) not have in form.
# db.py
db.define_table('content_ck',
Field('title', length=255),
Field('public_ck', 'boolean', default=True),
Field('text_ck', 'list:string',widget=SQLFORM.widgets.string.widget)
)
#default.py
form = SQLFORM(db.content_ck)
am I doing anything wrong?
Best/
--
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].
For more options, visit https://groups.google.com/d/optout.