@routevn/creator-model 1.2.6 → 1.2.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/package.json +1 -1
- package/src/model.js +2 -1
package/package.json
CHANGED
package/src/model.js
CHANGED
|
@@ -3298,12 +3298,13 @@ const validateLayoutElementData = ({
|
|
|
3298
3298
|
|
|
3299
3299
|
if (
|
|
3300
3300
|
data.direction !== undefined &&
|
|
3301
|
+
data.direction !== "absolute" &&
|
|
3301
3302
|
data.direction !== "horizontal" &&
|
|
3302
3303
|
data.direction !== "vertical"
|
|
3303
3304
|
) {
|
|
3304
3305
|
return invalidFromErrorFactory(
|
|
3305
3306
|
errorFactory,
|
|
3306
|
-
`${path}.direction must be 'horizontal' or 'vertical' when provided`,
|
|
3307
|
+
`${path}.direction must be 'absolute', 'horizontal' or 'vertical' when provided`,
|
|
3307
3308
|
);
|
|
3308
3309
|
}
|
|
3309
3310
|
|