Hi, You should call formComponent.clearInput() too.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Oct 7, 2014 at 9:13 AM, MadasamySankarapandian < madas...@mcruncher.com> wrote: > > This is regarding wicket-select2 project. I could not find any mailing > list for this project. That is why sending here. Please some one help me. > > I have created clear link to clear the form input values. After click the > clear link, all components values are cleared except Select2Choice > component. > > Here with attached quickstart to recreate this problem. > > Follow below steps to recreate this problem > > * Download attachment and extract it. > * cd select2-quickstart. > * Then execute mvn clean package jetty:run > * Type localhost:8080 in browser > * Give the input to name and country field. > * Click clear link > > Now name(*TextField*) field value is cleared and country(*Select2Choice*) > field value is not cleared. > > > > -- > Thanks and regards > Madasamy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >