JavaScript AngularJS x-editable Locale-based decimal separator

I'm not able to make xeditable work with localized decimal numbers.

I have searched both in the official documentation and online in other forums/websites but I wasn't able to get any clue.

The only similar issue was this SO question: AngularJS xeditable number field with float validation

To sum up the problem: I would like to use a comma instead of a dot as a decimal separator but x-editable automatically transform the separator in a dot when I go into "edit mode". How can I deal with localization for decimal numbers?

Here is the code

<span e-form="rowform" e-name="value.value" editable-text="property.value.value" onbeforesave="checkIsNumeric($data)">
    {property.value.value || 'empty'}}
</span>
Answer:1

I'm trying to replace the src of an image and I currently have this: if(('product-img img').src = "/webimages/blank.gif") { $(".product-img img").attr("src","/images/blank.gif"); } It is working ...

I'm trying to replace the src of an image and I currently have this: if(('product-img img').src = "/webimages/blank.gif") { $(".product-img img").attr("src","/images/blank.gif"); } It is working ...

  1. replacing image in illustrator
  2. replacing image in indesign
  3. replacing image in after effects
  4. replacing image in photoshop
  5. replacing image in word
  6. replacing image in powerpoint
  7. replacing an image with jquery
  8. replacing checkbox with image
  9. replacing button with image in html
  10. replacing color with image

How would i write a function that takes one argument that is a sentence and returns a new sentence where all words are reversed but kept in the same order as the original sentence? Test Case: ...

How would i write a function that takes one argument that is a sentence and returns a new sentence where all words are reversed but kept in the same order as the original sentence? Test Case: ...

im having issues trying to fill a single 10 row textarea with data using ng-repeat instead it creates a new textarea for every data entry. how can i just insert into one? and i would like to make the ...

im having issues trying to fill a single 10 row textarea with data using ng-repeat instead it creates a new textarea for every data entry. how can i just insert into one? and i would like to make the ...

  1. fill textarea with javascript
  2. fill textarea with jquery
  3. fill textarea with php
  4. fill textarea with text
  5. fill textarea with json
  6. fill textarea with value
  7. fill textarea with html
  8. fill textarea with js
  9. fill textarea with content
  10. fill textarea with javascript jquery
  11. fill textarea from database
  12. fill textarea in div
  13. javascript fill textarea with text
  14. html fill textarea with text
  15. java fill textarea with arraylist
  16. jquery fill textarea with text

I have the following HEAD tag <head> <title>Test</title> <link id="css1" href="demo.css" rel="stylesheet" type="text/css"> </head> What I want to be able to in ...

I have the following HEAD tag <head> <title>Test</title> <link id="css1" href="demo.css" rel="stylesheet" type="text/css"> </head> What I want to be able to in ...