jedison 0.3.13 → 0.3.14
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/dist/esm/jedison.js
CHANGED
|
@@ -4654,12 +4654,8 @@ class EditorNumberRange extends EditorNumber {
|
|
|
4654
4654
|
if (!isNumericType) {
|
|
4655
4655
|
return false;
|
|
4656
4656
|
}
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
}
|
|
4660
|
-
const hasMin = isSet(schema.minimum) || isSet(schema.exclusiveMinimum);
|
|
4661
|
-
const hasMax = isSet(schema.maximum) || isSet(schema.exclusiveMaximum);
|
|
4662
|
-
return hasMin && hasMax;
|
|
4657
|
+
const hasFormatRange = getSchemaXOption(schema, "format") === "range";
|
|
4658
|
+
return isNumericType && hasFormatRange;
|
|
4663
4659
|
}
|
|
4664
4660
|
build() {
|
|
4665
4661
|
let optionMin = 0;
|