i meant "2800" or "2795" in the first select

2017-09-26 17:06 GMT+01:00 António Ramos <[email protected]>:

> Hello i found a strange thing.
> The first select calls the endpoint correctly with "2800" or "EMP1" in
> postvars
>
> <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=64fd9f170ec74da5c714970072fd91
> 462ef466a8',['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=d650c553f195e839511e6524d7231b
> 85cc53cf56',['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" ???
>
>
> Regards
>

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

Reply via email to