File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,19 +78,19 @@ impl Component for AddClientForm {
7878 <input
7979 class=classes!( "new-client" , "firstname" )
8080 placeholder="First name"
81- value=& client. first_name
81+ value=client. first_name. clone ( )
8282 oninput=link. callback( |e: InputData | Msg :: UpdateFirstName ( e. value) )
8383 />
8484 <input
8585 class=classes!( "new-client" , "lastname" )
8686 placeholder="Last name"
87- value=& client. last_name
87+ value=client. last_name. clone ( )
8888 oninput=link. callback( |e: InputData | Msg :: UpdateLastName ( e. value) )
8989 />
9090 <textarea
9191 class=classes!( "new-client" , "description" )
9292 placeholder="Description"
93- value=& client. description
93+ value=client. description. clone ( )
9494 oninput=link. callback( |e: InputData | Msg :: UpdateDescription ( e. value) )
9595 />
9696 </div>
You can’t perform that action at this time.
0 commit comments