Skip to content

Conversation

@MaRoed
Copy link
Contributor

@MaRoed MaRoed commented Dec 10, 2015

Added the new configuration parameter altDecimal. It defines an alternative key as decimal separator. If you press the alternative key, it behaves like a press on the standard decimal separator. This can be useful for keyboards with comma on the number pad. The alternative decimal separator can be free configured to any key.

example:
Press the key for the standard decimal separator (.) or the alternative separator (,). In both cases the standard separator (.) is inserted into the input field.

MaRoed added 3 commits December 10, 2015 08:23
Define an alternative key as decimal separator. 

example: 
Press the key for the standard decimal separator (.) or the alternative separator (,). In both cases the standard separator (.) is inserted into the input field. This can be useful for keyboards with comma on the number pad.
Define an alternative key as decimal separator. 

example: 
Press the key for the standard decimal separator (.) or the alternative separator (,). In both cases the standard separator (.) is inserted into the input field. This can be useful for keyboards with comma on the number pad.
Added examples for altDecimal and reverse use of altDecimal.
@SamWM SamWM merged commit 44b12fa into SamWM:master May 9, 2017
var decimalPlaces = $.data(this, "numeric.decimalPlaces");
var decimalPlaces = $.data(this, "numeric.decimalPlaces");
// get an alternative decimal separator
var altDecimal = $.data(this, "numeric.altDecimal");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

("numeric.callback",null).data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants