Create new custom input

Hello friends, is there any way in the resource form to get the user to create their custom input, for example a text input, toggle or check box and it saves to the current model ? That option to create a new input only ceartan user with a specific role could do.
8 Replies
toeknee
toeknee8mo ago
Yeah you can use the Form builder I supposed?
Xiquita
Xiquita8mo ago
What I want is that when I fill out a form I can add, as an application user, a new input to the same form
toeknee
toeknee8mo ago
Hmm, so you want to add new fields but also then fill out the values too?
Xiquita
Xiquita8mo ago
yes, I want you as an application user to be able to add a new text input for example and be able to fill it in
toeknee
toeknee8mo ago
You can only do that with a repeater really
Xiquita
Xiquita8mo ago
because the idea I have is that in the same resource form I can have a button that asks the user a question, "What is the question to ask?" and another asking what type of field? text input or check box? and when the user submits these questions he adds them to the resource form
toeknee
toeknee8mo ago
So you can do that, just include the form builder within the form?
toeknee
toeknee8mo ago
Laravel News
Livewire Form Builder - Laravel News
Filament Form Builder is a package you can use to build forms using the TALL (Tailwind, Alpine.js, Laravel, and Livewire) stack.