Basic CRUD page

I have a basic CRUD page for an object (thing). Read, Update and Delete are fine but how do I initialize the page with a new empty object for create? If I just assume no object I’m getting Ipse Lorem in fields.

What’s the best practice here?

Thanks,

Eric

1 Like

You can do it on page load but set a status of “new” or something like that.

Then when you do save you change the status.

An alternative is to create the absolute minimum data before you go to your page via a “add new” popup.

1 Like