Bug: getValue() for ui.text with type: 'number' returns string

I’ve defined a text view of type: 'number' (which is undocumented but does generate the correct HTML).

However, https://snippet.webix.com/xosycona shows that .getValue() returns a string, not a number. This becomes annoying with GraphQL, which checks for strict types. I know I can convert to Number(), but Webix should return the correct type if it supports type: 'number' text fields well.

you can implement a little hack
https://snippet.webix.com/51g7c0cm

Nice hack, but shouldn’t Webix return a number of number text inputs, to begin with?

Maybe the webix team relied on HTML:

https://snippet.webix.com/brsetrao

a text view of type: ‘number’

The setting just defines a type for the inner HTML input. It is not supposed to influence output values.

At the same time, formatted numeric inputs can output numbers: https://snippet.webix.com/sy7ktsek

Thank you. Would be helpful to document the format string.