Validation in a Select


Topic: Validation in a Select

master@mastersistemas.net pro asked 6 years ago

Good morning, how can I use (Validation) in a Select, I'm trying this:
<form>

<div className="col-lg-6 form-group">
<Selectget Value={this.getSelectValue} required>

<SelectInput selected="" className="select"></SelectInput>

<SelectOptions>

<SelectOption icon={brasil}>Banco do Brasil</SelectOption>

<SelectOption icon={caixa}>Caixa</SelectOption>

<SelectOption icon={carteira}>Carteira</SelectOption>

<SelectOption icon={cresol}>Cresol</SelectOption>

<SelectOption icon={viacredi}>Crevisc</SelectOption>

<SelectOption icon={itau}>Itau</SelectOption>

<SelectOption icon={santander}>Santander</SelectOption>

<SelectOption icon={sicred}>Sicred</SelectOption>

<SelectOption icon={sicoob}>Sicoob</SelectOption>

<SelectOption icon={viacredi}>Viacredi</SelectOption>

<SelectOption icon={outros}>Outros</SelectOption>

</SelectOptions>

</Select>

<div className="invalid-feedback">Example invalid custom select feedback</div>

</div>
</form>
But it does not work

Anna Morawska staff commented 6 years ago

Hello, for now, we don't support validation in our component, but we'll take it into consideration. Best, Ania

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.0
  • Device: Desktop
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No