mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
added replacement from comma to dot
This commit is contained in:
parent
fa3e6267fd
commit
af7ef25c9d
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ CardCustomField.register('cardCustomField');
|
|||
{
|
||||
'submit .js-card-customfield-currency'(event) {
|
||||
event.preventDefault();
|
||||
const value = Number(this.find('input').value, 10);
|
||||
const value = Number(this.find('input').value.replace(/,/i,'.'), 10);
|
||||
this.card.setCustomField(this.customFieldId, value);
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue