You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TagField displays fine on page. But when I click into it, none of the records in the EventCategory table show up. It just displays a short dropdown with "No results found". I've even confirmed that it has access to the six records just above the tagField creation by spitting out EventCategory::get(). No errors in JS console.
What have I done wrong? It looks identical to the the Readme example to me.
The text was updated successfully, but these errors were encountered:
Update: I find it doesn't matter what I throw at TagField. It doesn't display any options in the list. This exhibits the same behavior just passing it SiteTree.
Update: I found that ->setShouldLazyLoad(true) loaded the list items fine with a slight delay, so tried ->setShouldLazyLoad(false) and this works now.
Not sure why. Other sites I have used this module on don't require that.
It also doesn't appear to be consistent as a work around. I created a second tagfield for a different relationship and evey with setShouldLazyLoad(false), it still won't load items. But it will if I use setShouldLazyLoad(true).
Version 2 on SS 4.
There are 6 records in the EventCategory database table
TagField displays fine on page. But when I click into it, none of the records in the EventCategory table show up. It just displays a short dropdown with "No results found". I've even confirmed that it has access to the six records just above the tagField creation by spitting out EventCategory::get(). No errors in JS console.
What have I done wrong? It looks identical to the the Readme example to me.
The text was updated successfully, but these errors were encountered: