Opened 8 years ago

Closed 8 years ago

#1865 closed enhancement (fixed)

Allow LEFT, RIGHT and DELETE keys in numeric fields

Reported by: Nicklas Nordborg Owned by: everyone
Priority: minor Milestone: BASE 3.3.2
Component: web Version:
Keywords: Cc:

Description

It is a bit annoying since a user can only move the cursor with the mouse.

Change History (2)

comment:1 Changed 8 years ago by Nicklas Nordborg

Hmm... seems like this is a Firefox only issue. Internet explorer doesn't send 'keyup' events for control keys. Same with Opera.

Further investigation reveals that IE and Opera always seem to report the same value for event.keyCode and event.charCode, but Firefox have event.charCode=0 for control keys.

So instead of checking either the charCode or the keyCode we should simply only check the charCode and allow 0.

comment:2 Changed 8 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [6559]) Fixes #1865: Allow LEFT, RIGHT and DELETE keys in numeric fields

Note: See TracTickets for help on using tickets.