datasync-dynamic-form 1.1.25 → 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.
@@ -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
- _jsx("div", { children: _jsx("h1", { children: "Form loading..." }) }), _jsx("form", { children: this.state.form &&
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "datasync-dynamic-form",
3
3
  "description": "Datasync Dynamic Form component",
4
- "version": "1.1.25",
4
+ "version": "1.2.0",
5
5
  "main": "dist/DsDynamicForm.js",
6
6
  "module": "dist/DsDynamicForm.js",
7
7
  "types": "dist/types/DsDynamicForm.d.ts",