Form submit not recognizing data from 'view field'
Hi experts, as mentioned in the documentation here (https://filamentphp.com/docs/3.x/forms/fields/custom#view-fields), I created a custom view field with radio buttons. Main reason for creating this view field is to display radio options in a card. I am able to pass data to blade view and customize the filed as per my requirement using tailwindcss. The form is rendering as expected. But when I submit the form, the radio field is showing null. What am I missing here. Thanks in advance.
2 Replies
also shows the form code
@Askancy thanks for the reply. To see if any issue with my code, I just created a simple radio field. Even that also not sending selected option back. My understanding is we can use normal html in view-filed. Now I think I need to use livewire components. Appreciate pointers here.
Screenshot is the code I used in blade template.