Multiline TextInputColumn
Hi all,
Question is : is it possible to have a multiline TextInputColumn? By pressing the "Enter" key, it just saves, we cannot have multiple lines by default.
Any idea?
Thanks,
4 Replies
press Shift + Enter to avoid saving
to be multi-lines by default you might just use
->extraAttributes(['class'=>'...'])
to add the needed stylesThanks @Mohamed Ayaou . I've already tried Shift+Enter but it does'nt work, it doesn't make the cursor go on a new line
Thanks, this what I finally did and it works.
However, I would have liked to call a method from my TextareaColumn.php file from the view, like I would do for any Livewire component. But the method is never accessible from the view. The only way I found to update the value was to use x-on:click="$wire.updateTableColumnState(....)".
Do you have any idea why?