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

edited June 4 in Technical questions

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.

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!