I have a custom component with a field of type ‘list’.
By default, I want to have certain entries already for the list which the user can edit.
e.g. Field name is ‘MenuItems’
It has subfield ‘MenuItemName’.
By default, I want to have a list of data already created as follows:
- MenuItemName 1
- MenuItemName 2
- MenuItemName 3
User should be able to treat it like normal field entry which they can edit or delete.
Please let me know how I can achieve this?