Select JSON Form

Select typed scalar values and unique arrays.

How this example works

Select accepts a primitive enum or an array with uniqueItems: true and primitive enum items. Optional flat x-options provides display labels while index decoding preserves numbers and booleans. Change the single choice or multiple choices and submit; reset restores every default. Clearing required scalar choices omits them.

Read the supported schema guide

Select example

Role

Current value: "viewer"

Ratio

Current value: 0.5

Enabled

Current value: false

Flags

Current value: [false]

Submitted JSON

Submit the form to see its JSON.