And when I put value in display_nameinput and after that click on checkbox (no matter checked or not), my input becomes clear! (Old value works as initial value. For example I put fff and send form and after reload I see fff, but when I change value to fffddd and check checkbox, my input becomes fff again.)
I change <fragment> root element to <div> and all works fine.
Hello!
I have component like this:
And I put it on my page in Laravel blade file:
And when I put value in
display_name
input and after that click on checkbox (no matter checked or not), my input becomes clear! (Old value works as initial value. For example I putfff
and send form and after reload I seefff
, but when I change value tofffddd
and check checkbox, my input becomesfff
again.) I change<fragment>
root element to<div>
and all works fine.Any ideas how to fix?