[ 
https://issues.apache.org/jira/browse/WICKET-5467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13867685#comment-13867685
 ] 

Per Newgro commented on WICKET-5467:
------------------------------------

The patch was created by git fomat-patch command. I hope it is still usable.
Additionally I've added the clirr-maven-plugin to m2e configuration. It would 
be helpful if you could adjust this because i get compile errors in eclipse if 
i clone wicket repository.

> NumberTextField should support "any" as valid step attribute value
> ------------------------------------------------------------------
>
>                 Key: WICKET-5467
>                 URL: https://issues.apache.org/jira/browse/WICKET-5467
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.13.0
>         Environment: wicket 6.11.0
>            Reporter: Per Newgro
>              Labels: WICKET-5096
>         Attachments: fix-WICKET-5467.patch
>
>
> The NumberTextField removes the any value from step attribute added to markup.
> E.g. <input type="number" step="any" wicket:id="myNumber" />
> and add(new NumberTextField<Double>("myNumber", numModel);
> leads to markup
> <input type="number" id="myNumber" />
> but should be
> <input type="number" step="any" id="myNumber" />
> I can see 2 possbile solutions
> 1. Don't remove the step attribute
> 2. Add a constant ANY to NumberTextField
> public static final Number ANY = 0;
> and let this be configurable to users (setStep(ANY))



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to