Sorting Forms/Components/Select by Pivot Table Field
Maybe someone would like to help me.
I have a Person model that has a relationship to the Operator model
The Operator model has a relationship to the Roles model
I have a Select component in Form and it works fine with these relationship operator.roles.
How could he sort the returns Roles in Select by Pivot Table ID?
How could he sort the returns Roles in Select by Pivot Table ID?