@sprucelabs/spruce-form-utils 22.0.2 → 23.0.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.
@@ -101,7 +101,7 @@ class FormPlayerCardViewController extends heartwood_view_controllers_1.Abstract
101
101
  const slides = options.pages?.map(({ title, ...form }) => {
102
102
  const formVc = this.Controller('form', {
103
103
  ...form,
104
- shouldShowSubmitControls: false,
104
+ shouldRenderSubmitControls: false,
105
105
  onChange: async () => {
106
106
  await this.handleFormChange(formVc);
107
107
  },
@@ -128,7 +128,7 @@ class FormPlayerCardViewController extends AbstractViewController {
128
128
  var _a, _b;
129
129
  const slides = (_b = (_a = options.pages) === null || _a === void 0 ? void 0 : _a.map((_a) => {
130
130
  var { title } = _a, form = __rest(_a, ["title"]);
131
- const formVc = this.Controller('form', Object.assign(Object.assign({}, form), { shouldShowSubmitControls: false, onChange: () => __awaiter(this, void 0, void 0, function* () {
131
+ const formVc = this.Controller('form', Object.assign(Object.assign({}, form), { shouldRenderSubmitControls: false, onChange: () => __awaiter(this, void 0, void 0, function* () {
132
132
  yield this.handleFormChange(formVc);
133
133
  }) }));
134
134
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-form-utils",
3
3
  "description": "Support for working with forms and Sprucebot. 📄",
4
- "version": "22.0.2",
4
+ "version": "23.0.0",
5
5
  "skill": {
6
6
  "namespace": "forms"
7
7
  },