Hi Sven,

it works now - I have put the field into a form and override onSelected as well 
as added an AjaxFormSubmitBehaviour.

thanks, Chris


> Am 20.05.2015 um 09:22 schrieb Sven Meier <[email protected]>:
> 
> Hi Chris,
> 
> AutoCompleteTextField writes the text into its model as any normal textField:
> Either when the form is submitted, or - if you added an 
> FormComponentUpdatingBehavior("change") - when the user leaves the input 
> field.
> 
> Regards
> Sven
> 
> 
> On 19.05.2015 23:47, Chris wrote:
>> HI Sven,
>> 
>> how is it possible to get the input from the text field when the user does 
>> not select one value from the listed choices, but type in some text? I would 
>> also like to get this value, but currently the model does not get updated in 
>> this case.
>> 
>> Thanks, Chris
>> 
>> 
>>> Am 19.05.2015 um 16:36 schrieb Sven Meier <[email protected]>:
>>> 
>>> Sure, just implement #getChoices() accordingly.
>>> 
>>> Have fun
>>> Sven
>>> 
>>> 
>>> On 19.05.2015 16:32, Chris wrote:
>>>> Hi all,
>>>> 
>>>> can the auto complete text field also be used in that way that it 
>>>> autocompletes words in the middle, too?
>>>> Such as „minster“ for „Westminster Abbey“? In the example below only 
>>>> autocompletion for comparison of text start is demonstrated.
>>>> 
>>>> http://www.wicket-library.com/wicket-examples-6.0.x/ajax/autocomplete?1 
>>>> <http://www.wicket-library.com/wicket-examples-6.0.x/ajax/autocomplete?1>
>>>> 
>>>> Thanks, Chris
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to