@shisyamo4131/air-guard-v2-schemas 2.4.1-dev.0 → 2.4.2-dev.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/package.json
CHANGED
|
@@ -808,6 +808,7 @@ export const defField = (key, options = {}) => {
|
|
|
808
808
|
if (options.hasOwnProperty("length")) {
|
|
809
809
|
// options.length が明示的に指定されていれば最優先
|
|
810
810
|
lengthToUseForRules = options.length;
|
|
811
|
+
newConfig.length = options.length; // newConfig.length も更新
|
|
811
812
|
} else if (
|
|
812
813
|
newConfig.hasOwnProperty("length") &&
|
|
813
814
|
newConfig.length !== undefined
|