TC
Twill CMS•12mo ago
illune84

Add Files field to block

Hi guys, I'm trying to create a block with a files field like this: @twillBlockTitle('Embed Video') @twillBlockIcon('image') @twillBlockGroup('app') <x-twill:files name="video" label="video" note="Video will overwrite previously selected images" :max="1" /> and i get this error: Unable to locate a class or view for component [twill:files]. What am i missing? Thanks for support
3 Replies
illune84
illune84•12mo ago
Anyone? I'm stuck with delivery deadline 😖
ifox
ifox•12mo ago
Hi @illune84 you are missing a : in your blade code. It should be x-twill::files
illune84
illune84•12mo ago
Gosh I haven't seen it.. thanks a lot