On Tue, Mar 19, 2013 at 11:15 PM, Richard <ml.richard.vez...@gmail.com> wrote:
> Hello,
>
> I wrote a typeahead autocomplete widget and work around many little issues,
> but now I have one that I have no clue how to solve...
>
> You can find the code here :
> https://groups.google.com/d/msg/web2py/Fs-tAH75fGY/6VtZ32x6lMAJ
>
> When the form get submit and the validators trigger the input value key or
> value label is cleared out, but the value of the hidden field stick so there
> is no problem get the proper value in the database but it is kind of anoying
> to the user to not see his value and didn't have validator error message.

Hi Richard,

You probably would have more and accurate answers if you made
a simple application with the problem.

Based on the code you post and the comments I tried to replicate the problem
you describe.

Find attached a small and self contained application,
with your widget (with some little changes), and see if it's what you want.
If not, make a small, self contained application for us to try.

To run it just drop in an someapp/controllers.

Regards,
Ricardo

-- 

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


Attachment: default.py
Description: Binary data

Reply via email to