UNPKG

@react-form-builder/core

Version:

React JSON Schema Form Builder to create complex, validated, reusable forms with no deep React knowledge required

10 lines (9 loc) 370 B
import { calculateExpressionProperty as i } from "../features/calculation/propertyCalculator.js"; import { isFunctionalProperty as r } from "../stores/ComponentStore.js"; function f(e, t) { return !e || !t || !r(e) && typeof e.value == "string" && e.value.trim() === "" ? !0 : i(e, t) === !0; } export { f as needValidate }; //# sourceMappingURL=needValidate.js.map