Not an easy one.
For the widget to work properly the field names should be created at call 
time not at init time but the callback uses the one from init.
Minimizing backward incompatibilities is another concern.

As an additional enhancement it could take a query to define a subset of 
the values. 


On Tuesday, January 29, 2013 9:18:31 AM UTC-5, Massimo Di Pierro wrote:
>
> Can you submit a patch?
>
> On Tuesday, 29 January 2013 05:36:53 UTC-6, DenesL wrote:
>>
>>
>> You have found a bug.
>>
>> The problem is that identical field names are being generated in the form 
>> for both Relation fields:
>> <input autocomplete="off" class="string" id="Relation_contact" 
>> name="_autocomplete_Person_name_aux" ...
>> <input autocomplete="off" class="string" id="Relation_name" 
>> name="_autocomplete_Person_name_aux" ...
>> <input id="_autocomplete_Person_name_auto" name="name" type="hidden" 
>> value="" />
>> <input id="_autocomplete_Person_name_auto" name="contact" type="hidden" 
>> value="" />
>>
>>
>>
>>

-- 

--- 
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/groups/opt_out.


Reply via email to