Closed ssweber closed 1 year ago
If a save fails during a prompt-save, now we:
1) update_selectors() - do this for all selectors, because prompt-save might have been prompted by parent, while save_fail came from dependent. 2) return SAVE_FAIL, which now will return in set_by_index/pk/first/prev/next/last
https://user-images.githubusercontent.com/57631333/235143763-e39387f3-27a4-4265-b707-8f9a3706fb90.mp4
@PySimpleSQL Let me know if you think we need an additional popup explaining what happened.
I think that behavior looks great
If a save fails during a prompt-save, now we:
1) update_selectors() - do this for all selectors, because prompt-save might have been prompted by parent, while save_fail came from dependent. 2) return SAVE_FAIL, which now will return in set_by_index/pk/first/prev/next/last
https://user-images.githubusercontent.com/57631333/235143763-e39387f3-27a4-4265-b707-8f9a3706fb90.mp4