Do you want to add suggested improvement as a patch (+test) ? :) Martin Grigorov Wicket Training and Consulting
On Fri, Jan 10, 2014 at 11:13 AM, Per Newgro <[email protected]> wrote: > Thank you Martin. > Done > https://issues.apache.org/jira/browse/WICKET-5467 > > > Gesendet: Freitag, 10. Januar 2014 um 09:09 Uhr > > Von: "Martin Grigorov" <[email protected]> > > An: "[email protected]" <[email protected]> > > Betreff: Re: NumberTextField eats my markup step attribute > > > > 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 <[email protected]> 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: [email protected] > > > For additional commands, e-mail: [email protected] > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
