datasync-dynamic-form 1.1.26 → 1.2.0
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/DsDynamicForm.js +4 -2
- package/package.json +1 -1
package/dist/DsDynamicForm.js
CHANGED
|
@@ -469,8 +469,10 @@ export class DsDynamicForm extends Component {
|
|
|
469
469
|
}
|
|
470
470
|
};
|
|
471
471
|
this.render = () => {
|
|
472
|
-
return (_jsxs(_Fragment, { children: [!this.state.form &&
|
|
473
|
-
|
|
472
|
+
return (_jsxs(_Fragment, { children: [_jsx(_Fragment, { children: console.log('form->', this.props.form) }), !this.state.form &&
|
|
473
|
+
_jsxs("div", { children: [console.log('Pages->'), _jsx("h1", { children: "Form loading..." })] }), !(this.state.form &&
|
|
474
|
+
this.state.form.Pages) &&
|
|
475
|
+
_jsx("div", { children: _jsx("h1", { children: "Form Missing Pages !!!" }) }), _jsx("form", { children: this.state.form &&
|
|
474
476
|
this.state.form.Pages &&
|
|
475
477
|
this.state.form.Pages.map((page, pageIndex) => {
|
|
476
478
|
console.log(`Rendering page ${pageIndex}:`, page);
|
package/package.json
CHANGED