Opened 12 years ago

Closed 12 years ago

#4265 closed defect (fixed)

InlineEditBox handler cancel

Reported by: guest Owned by: Douglas Hays
Priority: low Milestone: 1.0
Component: Dijit Version: 0.9
Keywords: InlineEditBox Cc:
Blocked By: Blocking:

Description

The InlineEditBox? handler should have a way to cancel the save. For example, if a user tries to save invalid details, the handler should be able to check that it is correct, and avoid the "save" otherwise (that is, avoid the new value from being displayed instead of the old value).

Change History (2)

comment:1 Changed 12 years ago by bill

Component: GeneralDijit
Owner: changed from anonymous to Douglas Hays
Priority: highlow

Right, Mark brought this up too. Our Validation widgets can say that a value is valid/invalid so maybe should piggyback that, at least for the case where we are displaying the save/cancel buttons.

comment:2 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [10373]) Fixes #4265. Added enableSave boolean function for users to override to programmatically disable Save. The default action checks for an isValid function and calls that.

Note: See TracTickets for help on using tickets.