-
I've got two tables in my app, Is it possible to sort a relationship dropdown box by a field? If not, is this an easy feature to add? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey David. Good shout, we could do with a few more options on the relationship picker. You can set this up using an options picker though...
That should be it - I just tried it and it works for me! |
Beta Was this translation helpful? Give feedback.
-
Hey @Jednadvacet If you're saving relationships for a SQL table, then you would just save the values to the foreign keys as necessary, and the Budibase relationship field will automatically reflect the link. When using relationships, we recommend SQL. For a Budibase DB, you'll want to save an _id against the relationship field. So it is critical that the _id field is the Value field of your options picker: Then in your save button, you'll need to |
Beta Was this translation helpful? Give feedback.
Hey David. Good shout, we could do with a few more options on the relationship picker.
You can set this up using an options picker though...
Data Provider
, linked to yourPlatforms
table, ordered byFavourites
Options Picker
Field
, manually typePlatform
- i.e. the column name of the relationshipSchema
to Data Provider... and configure the options below that.That should be it - I just tried it and it works for me!