How to use @commercetools-uikit/async-creatable-select-input - 1 common examples

To help you get started, we’ve selected a few @commercetools-uikit/async-creatable-select-input 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 commercetools / ui-kit / src / components / fields / async-creatable-select-field / async-creatable-select-field.js View on Github external
render() {
    const hasError =
      AsyncCreatableSelectInput.isTouched(this.props.touched) &&
      hasErrors(this.props.errors);
    return (
      <Constraints.Horizontal constraint={this.props.horizontalConstraint}>
        <Spacings.Stack scale="xs">
          <FieldLabel
            title={this.props.title}
            hint={this.props.hint}
            description={this.props.description}
            onInfoButtonClick={this.props.onInfoButtonClick}
            hintIcon={this.props.hintIcon}
            badge={this.props.badge}
            hasRequiredIndicator={this.props.isRequired}
            htmlFor={this.state.id}
          />
          <AsyncCreatableSelectInput
            horizontalConstraint="scale"

@commercetools-uikit/async-creatable-select-input

An input component getting a selection from an asynchronously loaded list from the user, and where options can be created by the user.

MIT
Latest version published 2 days ago

Package Health Score

87 / 100
Full package analysis

Popular @commercetools-uikit/async-creatable-select-input functions