Select From Table Input Helper

Version 0.1.1 added 9 months ago by tlainevool

0.1.1 Notes

Initial Version

About this Package

This input helper creates a drop-down selection that is populated from the values of another table.

This basically replaces a pick type in situations when you want to be able to search. If you have a situation like this:

Pod: Events - columns: name (txt), venue(pick:venue)
Pod: Venue - columns: name (txt), tag(pick:tag)
Pod: Tag - columns: name

Currently in Pods it is not possible to do something like $Record->findRecords('name ASC', 25, 'venue.tags.name = "outdoor"');

With this input helper you can instead declare the tag column of the venue as a txt type and use this input helper. The field would then be presented as a drop-down selection of tags. This input helper also handles the case where you mark the column "multiple" - it will present a multi-select widget.

Note: This input helper will not work on the state or county tables. There is a separate input helper called "State Input Helper" that does this same thing for the state table.