Mike D
Mike D

Reputation: 4946

EditField Not Receiving Input From "0" Key

I have two EditFeilds that need numeric input. The issue is that that zero does not seem to work in any simulator simulating a handset with a hardware keyboard.

Both EditFields are initialized with:

private EditField editField = new EditField( EditField.FILTER_REAL_NUMERIC );

I am I right in assuming that the BB OS should be taking care of the input type. The EditFields need the ability to enter decimal points (but not math operators). I know that the key press on the 0 key is getting caught, since I can print out the key code to the console (but that only works when debugging).

Could this be just a simulator issue?

Upvotes: 1

Views: 278

Answers (1)

Vit Khudenko
Vit Khudenko

Reputation: 28418

Mike, I can not reproduce your issue on a range of simulators. What simulator do you use? Do you subclass from EditField or use the EditField class directly?

Upvotes: 1

Related Questions