UEI logo

UEI Manufacturing System

Operations Workspace

FormSelectField Reference

Consulte esta subpágina para ver import, available props, exemplo de uso e controles vivos do component.

Hierarchy

Comece por `atoms` e avance para níveis maiores só quando a capacidade realmente precisar de composição.

FormSelectField

React Hook Form wrapper for SelectField.

Use when: Use when a select belongs to a react-hook-form schema.

Import

import { FormSelectField } from "@components/index";

Example

<FormSelectField control={form.control} name="status" options={options} label="Status" />

Available Props

controlRHF control

Form controller from react-hook-form.

namefield path

Field identifier in form schema.

optionsSelectFieldOption[]

Selectable list.

Live Preview

Wrapper over `SelectField` for RHF forms.

Controls

Use this one only inside forms with `Controller`-based state.

This application is a prototype and is being developed by Antonio Araujo and Seron S.