@pageboard/html 0.14.6 → 0.14.7
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/elements/layout.js +4 -4
- package/package.json +1 -1
- package/ui/form.js +1 -1
package/elements/layout.js
CHANGED
|
@@ -119,7 +119,7 @@ exports.layout = {
|
|
|
119
119
|
title: 'Inline (em)',
|
|
120
120
|
type: 'number',
|
|
121
121
|
default: 0,
|
|
122
|
-
multipleOf: 0.
|
|
122
|
+
multipleOf: 0.01,
|
|
123
123
|
nullable: true
|
|
124
124
|
},
|
|
125
125
|
inlineUnits: {
|
|
@@ -129,7 +129,7 @@ exports.layout = {
|
|
|
129
129
|
title: 'Block (rem)',
|
|
130
130
|
type: 'number',
|
|
131
131
|
default: 0,
|
|
132
|
-
multipleOf: 0.
|
|
132
|
+
multipleOf: 0.01,
|
|
133
133
|
nullable: true
|
|
134
134
|
},
|
|
135
135
|
blockUnits: {
|
|
@@ -147,7 +147,7 @@ exports.layout = {
|
|
|
147
147
|
type: 'number',
|
|
148
148
|
default: 0,
|
|
149
149
|
minimum: 0,
|
|
150
|
-
multipleOf: 0.
|
|
150
|
+
multipleOf: 0.01,
|
|
151
151
|
nullable: true
|
|
152
152
|
},
|
|
153
153
|
inlineUnits: {
|
|
@@ -158,7 +158,7 @@ exports.layout = {
|
|
|
158
158
|
type: 'number',
|
|
159
159
|
default: 0,
|
|
160
160
|
minimum: 0,
|
|
161
|
-
multipleOf: 0.
|
|
161
|
+
multipleOf: 0.01,
|
|
162
162
|
nullable: true
|
|
163
163
|
},
|
|
164
164
|
blockUnits: {
|
package/package.json
CHANGED
package/ui/form.js
CHANGED
|
@@ -359,7 +359,7 @@ class HTMLElementForm extends Page.create(HTMLFormElement) {
|
|
|
359
359
|
form.classList.add('loading');
|
|
360
360
|
scope.$response = await state.fetch(form.method, Page.format({
|
|
361
361
|
pathname: form.getAttribute('action'),
|
|
362
|
-
query:
|
|
362
|
+
query: form.dataset // because patch populates data from parameters
|
|
363
363
|
}), scope.$request);
|
|
364
364
|
} catch (err) {
|
|
365
365
|
scope.$response = err;
|