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
For many-to-many relations, which use localKeys, after changing localKeys via record.setlocalField is not updated. But for relations, which use foreignKey, all works correctly after changing foreignKey.
The text was updated successfully, but these errors were encountered:
porlov
changed the title
localField is not updated after localKeys change
localField is not updated after localKeys change for many-to-many relations
Dec 30, 2018
Description
For many-to-many relations, which use
localKeys
, after changinglocalKeys
viarecord.set
localField
is not updated. But for relations, which useforeignKey
, all works correctly after changingforeignKey
.Environment
Steps to reproduce
I expect that
localField
should be updated automatically. Am I doing something wrong?Test example for
foreignKey
:Test example for
localKeys
The text was updated successfully, but these errors were encountered: