NEURALNG
FORMSBETA

Select

A Signal-first combobox with object mapping, declarative options, all Angular Forms APIs, top-layer overlays and virtualized data.

Native combobox semanticsSSR safeHeadless ready

GET STARTED

Import

Import the public NeuralSelect class from the granular entry point.

app.ts TypeScript
import { NeuralSelect, OptionComponent } from '@neural-ng/core/select';

@Component({ imports: [NeuralSelect, OptionComponent] })

Data options and nested paths

Map labels, values, disabled state and icons without mutating source objects. Property accessors also accept nested paths.

Bursa demonstrates a disabled option.
No semantic event yet.

Primitive options

Strings and numbers need no label or value mapping.

Declarative options

neural-option owns rich projected content while its explicit label remains available to typeahead and assistive technology.

Angular Forms

One nullable value contract supports Signal Forms, Reactive Forms and template-driven Forms. Programmatic writes do not emit user-only selection events.

Signal Forms
Istanbul
Reactive Forms
Ankara
NgModel
Izmir

Chained selects

Compute dependent options from the first Signal and reset the child only on semantic user selection.

States

Disabled, readonly, loading, empty and invalid states retain distinct interaction and ARIA contracts.

Selection is required.

Append to body

Use the browser top layer inside dialogs, tables and clipped containers. The shared positioner matches trigger width, flips and follows scroll or resize.

Virtual scroll

Large fixed-height lists render only the visible overscanned range while exposing complete set metadata to assistive technology.

Semantic events

valueChange is the model output; selection, clear, panel and touch events describe user intent without invented on-prefixed aliases.

events.html HTML
<neural-select
  [(value)]="cityId"
  (valueChange)="valueChanged($event)"
  (selectionChange)="selected($event)"
  (cleared)="cleared($event)"
  (openChange)="panelChanged($event)"
  (touch)="touched()"
/>

Unstyled and typed class slots

Headless mode keeps combobox behavior, top-layer positioning, forms and structural hooks while consumer classes own every visible surface.