computeProperty()

in src/rules.js [159:167]


	computeProperty(property, defaultValue, fieldConfig, shownMap) {
		const rule = (fieldConfig.rules || []).find(rule => rule.property === property);

		if (!rule) {
			return defaultValue;
		}

		return this.parseCondition(rule.when, shownMap);
	}