Subject: | label_column for "Select" can't be a method on the related object |
The source for lookup_options seems to imply that you can provide a method name in "label_column" instead of a column name. However the tests for this check that it exists on the source, which won't work as the source object is just a DBIx::Class::ResultSource::Table instance.
I changed the test in line 171 to this in my copy:
return
unless ( $source->has_column($label_column) ||
$f_class->can($label_column) );
which seems to make it work for me.