I looked at the source code.
The "+" button supposed to be next to the input field.
Even there is a TD tag for it, but it is empty.

<tr id="testes_test__row"> <td class="w2p_fl"><label class="" for=
"testes_test" id="testes_test__label">Test: </label></td>
 <td class="w2p_fw"><ul class="w2p_list" id="testes_test_grow_input" style="
list-style:none"><li><input class="string" id="testes_test" name="test" type
="text" value="" /></li></ul></td>
 <td class="w2p_fc"></td>
</tr>




On Thursday, July 21, 2016 at 4:41:13 PM UTC+2, Niphlod wrote:
>
> is it really a big issue to have to press the '+' button to make another 
> input appear ????
>
> On Thursday, July 21, 2016 at 4:07:37 PM UTC+2, Alex Santana wrote:
>>
>> I updated the source to the version 2.14.6, the problem persists!
>>
>> I created a new application to test this isolated:
>> Model:
>> db.define_table('testes',
>>        Field('name',length=255, unique=True,label=T("Name")),
>>        Field('test','list:string',label=T("Test")),
>>        format = '%(name)s')
>>
>> Controller:
>> def index():
>>     response.flash = "Welcome to web2py!"
>>     return dict(message=T('Hello World'),grid=SQLFORM.grid(db.testes,
>> user_signature=False))
>>
>> View:
>> {{left_sidebar_enabled,right_sidebar_enabled=False,True}}
>> {{extend 'layout.html'}}
>>
>>
>> {{=grid}}
>>
>> This small example does not work!
>> I am not able to insert a list of strings.
>>
>>
>> On Thursday, July 21, 2016 at 2:25:19 PM UTC+2, Alex Santana wrote:
>>>
>>> Updating:
>>>
>>> I the development environment, I upgraded the web2py 1.99.7 to the 
>>> 2.12.3.
>>> Now, the issue is in both. (development and production).
>>>
>>> I will upgrade to the latest version 2.14.6.
>>>
>>> On Thursday, July 14, 2016 at 4:17:25 PM UTC+2, Alex Santana wrote:
>>>>
>>>> Helo,
>>>>
>>>> I created a basic table where one of the fields are a list:string.
>>>> I use the SQLFORM.grid to manage the data.
>>>> In development mode, using the Web2py application and server, 
>>>> everything is ok.
>>>> I am able to insert new values in the form just pressing "enter".
>>>> When enter is pressed, a new input field appears below the previous.
>>>>
>>>> The problem is after deployment, using apache2+mod_wsgi.
>>>> When I try to insert a new entry in the form (pressing "enter") it 
>>>> submits the form.
>>>> It does not show a new input field!
>>>>
>>>> I am using:
>>>> Debian 3.16.7
>>>> Apache2 2.4.10
>>>> Web2py 1.99.7 (in development, it is the current package at Debian 
>>>> Jessy repository)
>>>> Web2py 2.14 (in production)
>>>>
>>>> Any suggestion about why this is happening?
>>>> Thanks in advanced!
>>>>
>>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to