How to use the rc-form.createFormField function in rc-form

To help you get started, we’ve selected a few rc-form 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 react-component / form / examples / data-binding-form.js View on Github external
mapPropsToFields(props) {
    console.log('mapPropsToFields', props);
    return {
      on: createFormField(props.formState.on),
      email: createFormField(props.formState.email),
    };
  },
  onFieldsChange(props, fields) {
github react-component / form / examples / data-binding-form.js View on Github external
mapPropsToFields(props) {
    console.log('mapPropsToFields', props);
    return {
      on: createFormField(props.formState.on),
      email: createFormField(props.formState.email),
    };
  },
  onFieldsChange(props, fields) {
github spacecloud-io / space-cloud / mission-control / src / components / configure / SslConfigure.jsx View on Github external
mapPropsToFields(props) {
		return {
			cert: createFormField({ value: props.formState.cert }),
			enabled: createFormField({ value: props.formState.enabled }),
			key: createFormField({ value: props.formState.key })
		};
	},
	onValuesChange(props, changedValues) {
github spacecloud-io / space-cloud / mission-control / src / pages / deploy / DeployForm.jsx View on Github external
mapPropsToFields(props) {
    return {
      orchestrator: createFormField({ value: props.formState.orchestrator }),
      enabled: createFormField({ value: props.formState.enabled }),
      namespace: createFormField({ value: props.formState.namespace }),
      registry: {
        url: createFormField({ value: props.formState.registry.url }),
        id: createFormField({ value: props.formState.registry.id }),
        key: createFormField({ value: props.formState.registry.key })
      }
    };
  },
  onValuesChange(props, changedValues, allValues) {
github spacecloud-io / space-cloud / mission-control / src / components / configure / RealtimeConfigure.jsx View on Github external
mapPropsToFields(props) {
		return {
			broker: createFormField({ value: props.formState.broker }),
			enabled: createFormField({ value: props.formState.enabled }),
			conn: createFormField({ value: props.formState.conn })
		};
	},
	onValuesChange(props, changedValues) {
github spacecloud-io / space-cloud / mission-control / src / components / configure / FileStorageConfigure.jsx View on Github external
mapPropsToFields(props) {
		return {
			storeType: createFormField({ value: props.formState.storeType }),
			enabled: createFormField({ value: props.formState.enabled }),
			conn: createFormField({ value: props.formState.conn })
		};
	},
	onValuesChange(props, changedValues) {
github spacecloud-io / space-cloud / mission-control / src / components / configure / FunctionConfigure.jsx View on Github external
mapPropsToFields(props) {
		return {
			broker: createFormField({ value: props.formState.broker }),
			enabled: createFormField({ value: props.formState.enabled }),
			conn: createFormField({ value: props.formState.conn })
		};
	},
	onValuesChange(props, changedValues) {
github spacecloud-io / space-cloud / mission-control / src / components / configure / StaticConfigure.jsx View on Github external
mapPropsToFields(props) {
		return {
			enabled: createFormField({ value: props.formState.enabled })
		};
	},
	onValuesChange(props, changedValues) {
github react-component / form / examples / router.js View on Github external
mapPropsToFields(props) {
    return props.formState ? {
      city: createFormField(props.formState.city),
      user: createFormField(props.formState.user),
    } : {};
  },
  onFieldsChange(props, fields) {
github spacecloud-io / space-cloud / mission-control / src / components / configure / FunctionConfigure.jsx View on Github external
mapPropsToFields(props) {
		return {
			broker: createFormField({ value: props.formState.broker }),
			enabled: createFormField({ value: props.formState.enabled }),
			conn: createFormField({ value: props.formState.conn })
		};
	},
	onValuesChange(props, changedValues) {

rc-form

React High Order Form Component

MIT
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis