1
Stash field value from user's last accessed record in the app
Source: directus/directus#24487 · opened by @JLKM
Summary Setup: A table parent table having a Many-2-One relationship with a child table Situation: I'm on a parent record and about to create a child from it. Request: On the child I want a relational field with a variable filter, that depends not on a value in another child-field but on a value (in this case a type-setting) from the parent record. Basic Example Here an example with various properties linked to cities, regions or countries Parent table: PLACES with type-field containing the following choices: Country, region, city, island, sea area, lake, mountain etc. Child table: PROPERTIES with a reference-field pointing to places and a lookup-reference to a hidden table called CHOICES. Choice table demo setup: Fields and content | Scope | Property | Unit | | --- | --- | --- | | Country | Inhabitants | Persons | | Region | Inhabitants | Persons | | City | Inhabitants | Persons | | Island | Coastline | Kilometers | | Lake | Coastline | Kilometers |…
No pledges yet. Be the first to back this.
Comments
Similar requests
Sorting by Name in SQLite3 Database Is Case-Sensitive and Not Working as Expected
0 votes · 0 comments
1:1 Relations Alternative: Limiting records in a 1:M , M:1, or M:N relationship.
5 votes · 0 comments
SDK: Provide a way to disable the cache
3 votes · 0 comments
Specify sort by field on one to many field
8 votes · 0 comments
1:1 Relation Fields
11 votes · 0 comments
No comments yet.