Tiber
TextInput with no database column?
I think I found an easy solution:
1. I created a public array within the livewire component.
2. I created a custom view for my input field column, and did a wire:model to the array, using the main record ID as the key:
And that is basically it. Now whenever the user clicks the action button, I can just grab whatever they have typed for that row out of the array. Hopefully it doesn't all fall apart when I have a bunch of records, but it is working at the moment.
16 replies