Shun Miyazawa hace 1 año
padre
commit
e34a756ab4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      apps/app/src/components/Admin/App/AppSetting.jsx

+ 2 - 1
apps/app/src/components/Admin/App/AppSetting.jsx

@@ -40,7 +40,7 @@ const AppSetting = (props) => {
           <input
           <input
             className="form-control"
             className="form-control"
             type="text"
             type="text"
-            value={adminAppContainer.state.title || ''}
+            defaletValue={adminAppContainer.state.title || ''}
             onChange={(e) => {
             onChange={(e) => {
               adminAppContainer.changeTitle(e.target.value);
               adminAppContainer.changeTitle(e.target.value);
             }}
             }}
@@ -61,6 +61,7 @@ const AppSetting = (props) => {
             className="form-control"
             className="form-control"
             type="text"
             type="text"
             value={adminAppContainer.state.confidential || ''}
             value={adminAppContainer.state.confidential || ''}
+            defaultValue={adminAppContainer.state.confidential || ''}
             onChange={(e) => {
             onChange={(e) => {
               adminAppContainer.changeConfidential(e.target.value);
               adminAppContainer.changeConfidential(e.target.value);
             }}
             }}