Bridge Training
UI Bridge

LevelSelect

Controlled or uncontrolled field for a contract level.

Import from @workspace/ui-bridge/fields/level-select.

LevelSelect

Lists engine.constants.BID_LEVELS; level 1 by default. options restricts and orders the list.

import { LevelSelect } from '@workspace/ui-bridge/fields/level-select';

<LevelSelect variant="toggle" value={level} onChange={setLevel} />

Demo

Toggle

The same field with variant="toggle": every option inline, one pressed at a time.

Props

Prop

Type

Also accepts disabled and the context override of withBridgeContext.