Opened 12 years ago

Closed 12 years ago

#4511 closed task (fixed)

[patch]separate display and edit mode for form widgets

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.1
Component: Dijit Version: 0.9
Keywords: 4alex Cc:
Blocked By: Blocking:

Description

  1. Currency

When displaying a currency textbox it should look like

$123,456.90

but when editing the $ and , should disappear so it looks like

1234568.90

(note that it should still display the decimal as 90, not just 9)

  1. Number text boxes

Similar to above

  1. Infrastructure

General infrastructure to support separate edit and display modes

Attachments (1)

4511.patch (1.2 KB) - added by Adam Peller 12 years ago.
use optional editOptions property to mixin special edit pattern

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by bill

Owner: set to Adam Peller

Changed 12 years ago by Adam Peller

Attachment: 4511.patch added

use optional editOptions property to mixin special edit pattern

comment:2 Changed 12 years ago by Adam Peller

Owner: changed from Adam Peller to Douglas Hays
Summary: separate display and edit mode for form widgets[patch]separate display and edit mode for form widgets

Doug, please review.

comment:3 Changed 12 years ago by Adam Peller

Owner: changed from Douglas Hays to Adam Peller

haven't gotten any feedback. I'm checking this in.

comment:4 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: newclosed

fixed in [11710]

comment:5 Changed 12 years ago by Adam Peller

(In [11712]) Back out [11710], refs #4511. Doesn't tolerate bad input at all for some reason. Also, it would be nice to tolerate (but not require) symbols and separators in input.

comment:6 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: closedreopened

comment:7 Changed 12 years ago by Adam Peller

(In [11713]) Back out [11710], refs #4511. Doesn't tolerate bad input at all for some reason. Also, it would be nice to tolerate (but not require) symbols and separators in input.

comment:8 Changed 12 years ago by Adam Peller

Resolution: fixed
Status: reopenedclosed

(In [11716]) Trying again... provide separate pattern for edit mode. Fixes #4511

Note: See TracTickets for help on using tickets.