Composite Input

The KCompositeInput component combines a selection combobox with various input types, ideal for multi-language fields, contact information, or cascading selections. Each selection item can define its own input component type and configuration. Needs a DataProvider instance to supply the selection options.

Multi-Language Support (State Persistence)

Independent values for each selection. Switch between EN/TR/DE to see persistence.

Select...

modelValue collection:

[
  {
    "selection": "en",
    "value": "Hello World"
  }
]

Contact Types (Per-Selection Config)

Each contact type uses a different input component: Email uses a textbox, Phone uses a mask, Credit Card uses a mask with a different pattern.

Type

modelValue collection:

[]

Cascading Selection (Country → City)

Select a country to populate the city combobox. Each country defines its own inputDataProvider.

Country
Select a city...

modelValue collection:

[]

Searchable List & Large Datasets

Search box enabled for the selection side, providing easy filtering for large datasets.

Fruit

modelValue collection:

[]

Right Selection Layout

Lang

modelValue collection:

[]

DatePicker Variant (US vs GB Formats)

Select...

modelValue collection:

[]

Textarea Variant

Select...

modelValue collection:

[]

Validation Support

Select state
Select...

modelValue collection:

[]