How to use the @talend/react-forms/lib/UIForm//utils/properties.getValue function in @talend/react-forms

To help you get started, we’ve selected a few @talend/react-forms examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Talend / ui / packages / containers / src / ComponentForm / fields / Datalist / Datalist.component.js View on Github external
function resolveName(value) {
		// create schema to get entry name from internal properties
		const key = Array.from(props.schema.key);
		key[key.length - 1] = `$${key[key.length - 1]}_name`;

		const nameSchema = { ...props.schema, key };
		return getValue(props.properties, nameSchema) || value;
	}