Here’s a model with exclusively ui-only fields.
I’d like to be able to add and remove rows, and ‘save’ any changes (so they appear saved in the ui).
But I keep running into this unexpected FROM issue when I try to save, also now coupled with ‘Cannot read property ‘registeredFieldsByRowThenField’ of undefined’:
I have a table of about 20 rows in this model, and I need to be able to add and remove rows.
I can’t mark a row for deletion and save the model to remove the row, because I get this error.
I tried to use a row action with “remove context row” (which I think is equivalent to abandonRow()? ), but it removed ALL the rows from the model? Perhaps because they’re not saved?
Thoughts on how to accomplish this?
What are best practices for creating a ‘ui-only’ model?