`digits-after-decimal` must not apply to integer values #2856

Closed
ebruchez opened this Issue Aug 2, 2016 · 1 comment

Projects

None yet

1 participant

@ebruchez
Collaborator
ebruchez commented Aug 2, 2016
@ebruchez ebruchez added this to the 2.10.3 milestone Aug 2, 2016
@ebruchez ebruchez self-assigned this Aug 2, 2016
@ebruchez
Collaborator
ebruchez commented Aug 2, 2016

When using a property, there is only one global property, oxf.xforms.xbl.fr.number.digits-after-decimal, which applies to fr:number whether it is bound to a decimal value or an integer value.

This value controls formatting. If one sets oxf.xforms.xbl.fr.number.digits-after-decimal to, for example, "2", in order to impact decimal fields, then integer fields are also impacted, which is not desirable.

This could be fixed with another property, or by simply making oxf.xforms.xbl.fr.number.digits-after-decimal always have value "0" for integer fields.

@ebruchez ebruchez closed this in 05025b4 Aug 2, 2016
@ebruchez ebruchez modified the milestone: 2016.2, 2.10.3 Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment