Text input disappear

Hi,

I have a strange behaviour on my wired inputs, is it normal with livewire ? Why does the text disappear/reappear ?

anyone has the same issue ?

Hey, @tiger

When you are going to bind the data use lazy or defer in the bounded input

<input type="text" wire:model.lazy="name"/>

Or 
<input type="text" wire:model.defer="name"/>

Hope this help.

Hi,

so this is normal ? Should .defer be set by default ?

.defer is working. Thanks

Not must be, if not your wish. You must check how you are treading the properties in blade that are disappearing on render or refresh

I don’t think so.

If you want to repeat an input for all your forms for example. Use view components

For more info check the link below
https://laravel.com/docs/8.x/blade#rendering-components