File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
frontend/src/pages/profile Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ type InputFieldProps = {
7272
7373const InputField = observer ( ( props : InputFieldProps ) => {
7474 let valueField : string = props . userProfile . getAttribute ( props . attributeName , "" ) ;
75+
7576 return (
7677 < form className = "row g-3 mb-15" >
7778 < div className = "col-md-12" >
@@ -84,7 +85,7 @@ const InputField = observer((props: InputFieldProps) => {
8485 type = "text"
8586 className = "form-control"
8687 placeholder = { props . placeholder }
87- value = { valueField }
88+ defaultValue = { valueField }
8889 onFocus = { ( e ) => props . userProfile . profileJson . onFocusAttribute ( props . attributeName ) }
8990 onBlur = { ( e ) => props . userProfile . profileJson . onBlurAttribute ( props . attributeName ) }
9091 onChange = { ( e ) => props . userProfile . profileJson . setAttribute ( props . attributeName , e . target . value ) } >
You can’t perform that action at this time.
0 commit comments