Dronakurl / nicecrud

Edit your pydantic models with a nice GUI - CRUD Create Update Replace Delete
MIT License
20 stars 4 forks source link

Feature/list support #3

Closed RalfG closed 3 months ago

RalfG commented 3 months ago

Addresses #2

Lists of models are displayed as lists of addable/editable/removable items.

For example:

image

Clicking the edit button opens a subdialog:

image

A similar approach could be used for lists of native types (str, int, float).

Dronakurl commented 3 months ago

Thank you for your contribution! This looks really great. I thought about your issue today. I would have just opened another "NiceCRUD" dialogue for the list of models, but this solutions looks much better.

Dronakurl commented 3 months ago

If you find the time: An example (or an extension of an existing example) and a maybe a hint in the README would be nice.