I encounter a situation that the page holds my custom states does not appear in the list when I want to define constraints or to save data. I figured out that the type of precede data has an impact on showing/ not showing the page (the element holding custom states). However, I don’t really understand the reason & how to solve it.
Here are usecases:
- I want to save text data stored in a custom state in a DB, into the field which is referring to another data type. The type of data in the referred field is also text.
Here is my Loom video: https://www.loom.com/share/df9469543cc541c08ae136ba42fe6e77
- I want to apply a constrain to filter the data based on a custom state. Here, the custom state is text but the field in DB is a list, also connected with another data
It looks like the trouble happens when the data type is a foreign key.