We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should be possible to enter .5 and have it automatically converted to 0.5. It should also work with negative numbers (-.5 being -0.5).
.5
0.5
-.5
-0.5
The feature is controlled through:
setIntegerPartOptional(boolean)
isIntegerPartOptional()
false
withIntegerPartOptional(boolean)
withIntegerPartOptional()
withIntegerPartRequired()
This idea was suggested by Holger Hähnel in the Vaadin Directory.
The text was updated successfully, but these errors were encountered:
#304 API decided
b58c2d6
#304 likely done
d400a8d
changed API to say "optional" rather than "required" (default behaviour is still "required")
#304 updated README.md to include new feature
448423a
#304 fixed tests
86eee19
#304 omit leading zero (#307)
41525be
controlled through `setIntegerPartOptional` and related getter and with- methods
Release 0.11.0 ready (#318)
eadd477
#304 #303 #313 #314 done
vaadin-miki
Successfully merging a pull request may close this issue.
It should be possible to enter
.5
and have it automatically converted to0.5
. It should also work with negative numbers (-.5
being-0.5
).The feature is controlled through:
setIntegerPartOptional(boolean)
andisIntegerPartOptional()
, with the default value beingfalse
(so integer part is required)withIntegerPartOptional(boolean)
and then as helperswithIntegerPartOptional()
andwithIntegerPartRequired()
This idea was suggested by Holger Hähnel in the Vaadin Directory.
The text was updated successfully, but these errors were encountered: