Given a foreign key and an optional row, this component produces a select form element for that relationship.
If a row is given, then its value will be used as the default value for the form element.
Alzabo::ForeignKey object representing the relationship.
An Alzabo row object.
This defaults to
This allows you to pre-select the rows in the foreign table that will be used for the select options. Otherwise, the component simple grabs all the available rows from the foreign table.
This is the column in the foreign table which should be used as the visible value of each option. This defaults to the column involved in the foreign key relationship.