Opened 6 years ago

Closed 6 years ago

#9515 closed bug (notabug)

Spinner does not add currency symbol after value entered by keypress

Reported by: jdawg1983 Owned by:
Priority: minor Milestone: none
Component: ui.spinner Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Scott González)

When a spinner is set for currency and a user sets value to zero i.e. £1.00 to 0 (note the pound symbol is now missing) the spinner control does not replace the currency symbol after keydown or keypress or blur. However by using keyup or keydown to change the value will reformat the value and bring back the currency symbol. If this is by design then maybe an option that makes the currency symbol fixed in place would be useful.

Change History (1)

comment:1 Changed 6 years ago by Scott González

Description: modified (diff)
Resolution: notabug
Status: newclosed
Summary: spinner does not add currency symbol after value entered by keypressSpinner does not add currency symbol after value entered by keypress

The spinner never adjusts a manually entered value. I've filed an issue to get this properly documented: https://github.com/jquery/api.jqueryui.com/issues/161

Note: See TracTickets for help on using tickets.