Yeah thanks! totally missed that. 

Joachim Van der Auwera (PROGS bvba) wrote:
> 
> You can disable the autofocus handling in the form component.
> 
> Joachim
> 
> Britske wrote:
>> I have a textfield enriched with the autocomplete mixin. 
>>
>> <input class="search" t:minChars="3" t:frequency="0.2" t:type="textfield"
>> t:id="quickTextField" t:mixins="autocompletearoer2" id="quickTextField"
>> name="Best" type="text" value="quickTextValue" />
>>
>> This field always gets the focus even though it isn't the first field of
>> the
>> form. 
>> Is there a way to disable this? 
>> I tried to circumvent this by having a javascript set the focus on
>> another
>> field, but without success: the autcomplete field seems to get the focus
>> back automatically.
>>
>> This is a problem since for instance alt-tabbing forth and back to the
>> browser set's off an ajax-call automatically since the focus is on the
>> autocomplete field. 
>>
>> Any way to prevent this? 
>>
>> Thanks, 
>> Geert-Jan
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5%3A-autocomplete-mixin-gets-autofocus-on-field.-I-don%27t-want-that.-tp25255884p25271757.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to