Opened 5 years ago

Closed 5 years ago

#18383 closed defect (invalid)

onChanged method is not triggered for dojox.mobile.Textbox of type "number" when a String value is typed

Reported by: swiftfoot Owned by: swiftfoot
Priority: undecided Milestone: tbd
Component: DojoX Mobile Version: 1.9.4
Keywords: Cc:
Blocked By: Blocking:

Description

I need to trigger validation on a dojox.mobile.Textbox of input type "number", so I can give a nice error message to a user that might have typed an invalid number.

For instance, he might type this value "35,5" instead of "35.5".

Currently, the onChanged method is not triggered in the first case.

This is the same as this bug over here https://bugs.dojotoolkit.org/ticket/17405. I'm fine if this bug is closed and the other reopened.

Change History (2)

comment:1 Changed 5 years ago by bill

Component: GeneralDojoX Mobile
Owner: set to swiftfoot
Status: newpending

Presumably this is an error in your code. There's no such method called onChanged. Try onChange.

comment:2 Changed 5 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.