On Tuesday, September 26, 2017 at 9:07:28 AM UTC-7, Ramos wrote:
>
> Hello i found a strange thing.
> The first select calls the endpoint correctly with "2800" or "EMP1" in 
> postvars
>

Silly question:  are these selects enclosed in a form?  Is it the same form 
for both, separate instances of the same form for each, or different forms 
for each?
 

>
> <select class="extraselect js-states form-control 
> select2-hidden-accessible" id="Driver" name="field_Driver" 
> onchange="ajax('/fileit/entities/insert_or_update_extra_field?extrafield=13&amp;relatedto=60abab5f-aaf0-455b-b767-f61896a5dd45&amp;_signature=64fd9f170ec74da5c714970072fd91462ef466a8',['field_Driver'],':eval');toastr.warning('A
>  
> gravar campo:Driver');" tabindex="-1">
>     <optgroup>
>         <option value="0">None</option>
>     </optgroup>
>     <optgroup label="Zé dos Transportes">
>         <option value="2800">Zé</option>
>     </optgroup>
>     <optgroup label="EMP1">
>         <option selected="selected" value="2795">Jaquelino</option>
>     </optgroup>
> </select>
>
>
> however this select calls the same endpoint with ["345","346"]
>
>
> <select class="extraselect js-states form-control 
> select2-hidden-accessible" id="pesoStart" name="field_pesoStart" 
> onchange="ajax('/fileit/entities/insert_or_update_extra_field?extrafield=29&amp;relatedto=60abab5f-aaf0-455b-b767-f61896a5dd45&amp;_signature=d650c553f195e839511e6524d7231b85cc53cf56',['field_pesoStart'],':eval');toastr.warning('A
>  
> gravar campo:pesoStart');" tabindex="-1">
>     <optgroup label="Balança:B2">
>         <option value="345">10</option>
>     </optgroup>
>     <optgroup label="Balança:B1">
>         <option value="346">0</option>
>     </optgroup>
> </select>
>
>
> Can anybody spot the "typo" ???
>
>
Only the one you pointed out below, outside the code  ;-)

/dps
 

-- 
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