@esvndev/es-react-config-setting 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18852,7 +18852,7 @@ const SettingApp = (props) => {
|
|
|
18852
18852
|
const value = e.target.type === "checkbox" ? e.target.checked : e.target.value;
|
|
18853
18853
|
setFormState(prev => ({
|
|
18854
18854
|
...prev,
|
|
18855
|
-
[
|
|
18855
|
+
[obj.id]: value
|
|
18856
18856
|
}));
|
|
18857
18857
|
if (e.target) {
|
|
18858
18858
|
var _value = "";
|
|
@@ -18881,6 +18881,7 @@ const SettingApp = (props) => {
|
|
|
18881
18881
|
//#endregion
|
|
18882
18882
|
const [settingData, setSettingData] = React.useState({});
|
|
18883
18883
|
const [dataSettingGroup, setDataSettingGroup] = React.useState([]);
|
|
18884
|
+
const [formState, setFormState] = React.useState({});
|
|
18884
18885
|
//Load data of group config and setting by group
|
|
18885
18886
|
React.useEffect(() => {
|
|
18886
18887
|
if (isOpen) {
|
|
@@ -18927,7 +18928,6 @@ const SettingApp = (props) => {
|
|
|
18927
18928
|
loadSettingConfigByGroup(data);
|
|
18928
18929
|
setDataSettingGroup(updated);
|
|
18929
18930
|
};
|
|
18930
|
-
const [formState, setFormState] = React.useState({});
|
|
18931
18931
|
//Hàm sử dụng tạo theo loại giá trị
|
|
18932
18932
|
const _renderInput = (root, data) => {
|
|
18933
18933
|
console.log(data);
|