phyce
TCTwill CMS
•Created by phyce on 3/8/2025 in #👊support
Using custom form inputs in a TwillBlockComponent
I'm trying to figure out how to add a custom form field inside a custom block. I have managed to get the vue component to render correctly, however it is not saving the input.
CustomBlock.php:
in
resources/views/admin/pages/form.blade.php
I've added:
resources/views/twill/partials/form/_text_area.blade.php
:
From what I can see the push to vuexStore never happens, my guess is that using BladePartial to add a form input is not the right way.
What am I missing, or what's the right way to achieve this?2 replies