Back to Nocobase

EnvVariableInput

docs/docs/en/shared-components/form/env-variable-input.md

2.1.32646 B
Original Source

EnvVariableInput

EnvVariableInput is used to allow only $env environment variables.

Basic Usage

tsx

API

PropTypeDescription
valuestringCurrent value
onChange(value: string) => voidChange callback
addonBeforeReact.ReactNodeContent before the input
disabledbooleanWhether disabled
passwordbooleanMask plain non-variable values
placeholderstringPlaceholder text