@react-form-builder/core
Version:
React JSON Schema Form Builder to create complex, validated, reusable forms with no deep React knowledge required
19 lines (18 loc) • 487 B
JavaScript
import { dataKey as o } from "../../stores/ComponentStore.js";
const u = (t) => ({
get valueProperty() {
const { model: r, store: e } = t;
if (!(e.disableDataBinding?.value === !0 || !r.valued || !e.dataKey))
return {
propertyName: r.valued,
get propertyValue() {
const a = o(e);
return t.dataRoot.data[a];
}
};
}
});
export {
u as getOneWayPropertiesContext
};
//# sourceMappingURL=getOneWayPropertiesContext.js.map