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
Yeah you can use the Form builder I supposed?
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
Hmm, so you want to add new fields but also then fill out the values too?
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
You can only do that with a repeater really
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
So you can do that, just include the form builder within the form?
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.