silverstripe-itemsetfield icon indicating copy to clipboard operation
silverstripe-itemsetfield copied to clipboard

Prevent field from creating orphaned objects (with just this field set) ...

Open benrwhite opened this issue 12 years ago • 2 comments

...when creating a new object.

benrwhite avatar Mar 23 '12 17:03 benrwhite

It'd probably be better to disable the field until an ID is set, to prevent the user from getting confused when actions they perform aren't executed.

ajshort avatar Mar 24 '12 12:03 ajshort

That's the reason for the additional change to saveInto, as if an item is being added to the db, the record should not be written until the form overall is saved.

On 24 Mar 2012 12:34, "Andrew Short" < [email protected]> wrote:

It'd probably be better to disable the field until an ID is set, to prevent the user from getting confused when actions they perform aren't executed.


Reply to this email directly or view it on GitHub:

https://github.com/ajshort/silverstripe-itemsetfield/pull/24#issuecomment-4673337

benrwhite avatar Mar 25 '12 10:03 benrwhite