This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Thanks for implementing the taglist form widget, it's been useful to have this integrated into the core.
I've been using it in relation mode, however, I've been running into some difficulty using the 'nameFrom' option as described in the docs. My tags table uses 'title' rather than 'name' as the label field, and so I used the following in my fields.yaml
tags:
label: Tags
type: taglist
mode: relation
nameFrom: title
Unfortunately this has been throwing an SQL error saying it can't find the 'name' field in the tags table. The problem appears to be in modules/backend/formwidgets/TagList.php line 59. It is not reading the nameFrom config setting from the options file, so it is using the default 'name' setting instead. If I add 'nameFrom' to this array, it works fine.
Have I found a bug, or am I doing something wrong?
1-1 of 1