livewire-quill-text-editor icon indicating copy to clipboard operation
livewire-quill-text-editor copied to clipboard

Editor sends a lot of requests as the user types into the editor

Open muhammedjafer opened this issue 1 year ago • 8 comments
trafficstars

I looked at the livewire code for the editor, .live is used which sends a lot of request to the server as the user types in the editor, i prefer having options for .defer and .lazy too for the editors so then we can use the two options

muhammedjafer avatar Apr 28 '24 08:04 muhammedjafer

I think we can use with wire:model as well.

dasundev avatar Apr 29 '24 05:04 dasundev

the package is not giving any option to use wire:model alone, it applies .live always

muhammedjafer avatar Apr 30 '24 18:04 muhammedjafer

Can you fix it?

dasundev avatar May 01 '24 03:05 dasundev

I will try to work on adding these options .defer on this weekend

muhammedjafer avatar May 01 '24 04:05 muhammedjafer

i am going to make a new pull request, i found a very good solution for it

muhammedjafer avatar May 01 '24 07:05 muhammedjafer

i have made a new pull request please check @dasundev

muhammedjafer avatar May 01 '24 07:05 muhammedjafer

I cannot approve it. Please review the comment.

#12

dasundev avatar May 01 '24 08:05 dasundev

@dasundev i just created a new pull request

muhammedjafer avatar May 01 '24 08:05 muhammedjafer