Stemonte
Custom field with livewire, is it possible?
Hello,
I was wondering if it's possible to create a custom field using Livewire?
I've attempted a test, and despite everything appearing to be configured correctly, in the end, the field doesn't get saved for that statePath.
My requirement is to build an image selection component to use within various forms for different entities, displaying all media with pagination (similar to the media library).
Here's a simplified version of the process I've tried:
The blade file is:
And the blade for custom-field-livewire is:
If you have any insights into why the field isn't getting saved for the specified statePath, I would greatly appreciate your assistance.
2 replies