Hi, This is a bug. Please file a ticket.
Martin Grigorov Wicket Training and Consulting On Fri, Jan 10, 2014 at 10:01 AM, Per Newgro <per.new...@gmx.ch> wrote: > Hi, > > i would like to enable float values in my form (without validation error). > But it's not possible for me. > > If i add this input markup > > <input type="number" step="any" wicket:id="myNumber" /> > > and assign a > > new NumberTextField<Double>("myNumber", numberModel); > > the resulting markup is > > <input type="number" id="myNumber1" /> > > So i'm not able to get a valid form submit with a value of 12.5 because > step="any" has been removed > (NumberTextField@190). > > The NumberTextField.setStep is also unusable because it uses a Number > parameter > which is "any" obviously not :-). > > is there another workaround or is a ticket required? > > Thanks for your support > Per > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >