hilla icon indicating copy to clipboard operation
hilla copied to clipboard

Add support for local data for AutoGrid/Form/Crud

Open marcushellberg opened this issue 2 years ago • 1 comments

Describe your motivation

There are cases, like working offline, where it would be useful to be able to get the automatic generation provided by AutoGrid/Form/Crud, but work with a local data source.

Describe the solution you'd like

Maybe something like

<AutoCrud items={orders} model={OrderModel} onSave={handleSave}/>

Describe alternatives you've considered

No response

Additional context

No response

marcushellberg avatar Nov 17 '23 20:11 marcushellberg

Let's consider implementing something similar to https://github.com/vaadin/docs/blob/hilla/frontend/demo/services/CrudService.ts

cromoteca avatar Nov 17 '23 20:11 cromoteca