I have a use case where I don’t want to load a model on page load, because there’s a good chance it will not be needed at all. However, if I do need it, I’d like the model to create a default row if there isn’t one.
I suppose I could run some javascript on query to create a row if there isn’t one… but it seems like a fairly simple thing. Is there any way with the action framework?
Question
Create default row for empty model when queried after pageload
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.