Masked input value is sent to server unmasked

Masked input value is sent to server unmasked

sergey88sergey88 Posts: 6Questions: 1Answers: 0

Title pretty much sums up the issue.
Let's say i have a field in the editor:
{ label: 'cargoWeight', name: 'cargoWeight', type: 'mask', mask: '0999999.9999', }

After i enter 10.10 in the field and send the data, 10.10 is sent as 1010 - without the dot.
How do i fix that?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.