Is there a way for the interface extension to read other fields of the item? I’d like one field to control some behaviours of another, e.g. collection could have a map and a drop-down limiting allowed shapes in the map.
I see that the component receives the collection name and item id, but, if I understand it correctly, I could only read the last saved value, and not the current one.
I wanted to do the same but in a relational field (when it pops up side tab), do you think the same logic can work? cause I had to make the user save the changes first in the main item, then I fetch the data in the related item from the main to make my conditions.
– AbdallahHmm, I don't think you can get the parent form values directly from the relational form, but I may be wrong.
– TheDerfI made an extension made it possible, but the extension just extract the ID from the main item and fetch the needed data. so I had to make the user actually saves the data which is not the best way.
– Abdallah