Adding a tags field in the new page create dialogue throws an error this.options.filter is not a function when I start typing a tag. This seems to happen when the tags field on the page uses dynamic options with query of tags from sibling pages. If I remove the query options it works fine.
In album.yml add a page create option with a tags field
In album.yml add query options to the tags field with page.siblings.pluck("tags", ",", true)
In the panel go to the photography page and click + to add a new subpage
Start writing a tag in the page create dialogue, see error
Your setup
Kirby Version
4.0.0-alpha.2
Console output
TypeError: this.options.filter is not a function
search http://localhost/starterkit/media/panel/9a459044c0e9d589a8dfb36aa8947cc2/js/index.js:1
onType http://localhost/starterkit/media/panel/9a459044c0e9d589a8dfb36aa8947cc2/js/index.js:1
input http://localhost/starterkit/media/panel/9a459044c0e9d589a8dfb36aa8947cc2/js/index.js:1
VueJS 3
Your system (please complete the following information)
@bastianallgeier seems like the fields in the dialog aren't properly processed (their blueprints). Instead of the options from the query, it receives the raw blueprint pattern
Description
Adding a tags field in the new page create dialogue throws an error
this.options.filter is not a function
when I start typing a tag. This seems to happen when the tags field on the page uses dynamic options with query of tags from sibling pages. If I remove the query options it works fine.Screenshots
To reproduce
album.yml
add a page create option with atags
fieldalbum.yml
add query options to thetags
field withpage.siblings.pluck("tags", ",", true)
Your setup
Kirby Version
4.0.0-alpha.2
Console output
Your system (please complete the following information)