You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In these instances, it probably makes sense to not render the LinkField component normally, and instead have a message in the LinkField along the lines of "Save the Owner first"
We can simply check to see if the ownerID prop in the LinkField component is 0 or not as a condition for showing the message
As part of saving the relation between an Owner and Link on Link creation you can get into a state where the Owner has yet to be saved, such as creating a new Owner on a GridField.
In these instances, it probably makes sense to not render the LinkField component normally, and instead have a message in the LinkField along the lines of "Save the Owner first"
We can simply check to see if the ownerID prop in the LinkField component is
0
or not as a condition for showing the messagePR
The text was updated successfully, but these errors were encountered: