fr:number: incorrect behavior with "." as grouping separator #2857

ebruchez opened this Issue Aug 2, 2016 · 1 comment


None yet

1 participant

ebruchez commented Aug 2, 2016 edited

Set the following properties:

<property as="xs:string" name=""    value="," />
<property as="xs:string" name=""   value="." />
<property as="xs:string" name="" value="2" />
  • enter value "1,5"
  • field contains "1,50" after blur
  • click into the field again
  • decimal separator is removed (which is wrong)
  • field contains the value "15"
  • after blur the field contains the value "15,00" (which is wrong)

+1 from customer

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

Issue is caused by code which cleans up separators from the instance value. There is no need to remove them in this case, because the value in instance data should be assumed to be in the correct format.

@ebruchez ebruchez closed this in a094290 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