Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1397 Widoki

When I create a new object and without saving I want to create a child, I can't do it because the parent doesn't exist yet. How can I automatically save and substitute the parent when creating a child element?


I tried to do it by onchange method, it works, so I can't create and save parent_id in child one, but in this case problem is that frontend doesn't know about that and when user want to save parent, he can't to do it, because this parent was created on backend side.


I wanted to attach a video, but karma won't let me do it.
https://streamable.com/xoyf0s

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
5
wrz 25
23320
3
sie 25
3495
1
maj 25
3371
1
kwi 25
4277
1
kwi 25
5083