Problem with some units in numericTextBox format

1 Answer 27 Views
NumericTextBox
Daniel
Top achievements
Rank 1
Iron
Daniel asked on 10 Jan 2024, 09:40 AM
Hi!
I'm using the numericTextBox for diferent measures.
When I format the component with "0 kg" works ok, but i need to use "0 µg"  and does not work ok.

<script>
    $(document).ready(function() {
        // create NumericTextBox from input HTML element
        $("#numeric").kendoNumericTextBox({
            format: "#.00 kg"
        });
    });
</script>
That's Ok
but

<script>
    $(document).ready(function() {
        // create NumericTextBox from input HTML element
        $("#numeric").kendoNumericTextBox({
            format: "#.00 µg"
        });
    });
</script>
Shows "0,00xB5" instead of "0,00 µg"
Anyone knows why or has a solution?

Thanks and greeetings!

1 Answer, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
Iron
answered on 10 Jan 2024, 03:30 PM
Sorry, it was a problem to convert razor values to script.
It works fine.
Tags
NumericTextBox
Asked by
Daniel
Top achievements
Rank 1
Iron
Answers by
Daniel
Top achievements
Rank 1
Iron
Share this question
or