Ask AI is now on the home page — ask a question and get a sourced answer from the Ory docs. You'll also find it in the bottom-right corner of any page.

Skip to main content

UiNodeInputAttributesWithOptions

type UiNodeInputAttributesWithOptions = UiNodeInputAttributes & {
options?: UiNodeInputAttributesOption[]
}

Same as UiNodeInputAttributes, but additionally carries the optional options field used to render enum traits as a dropdown. The Kratos server populates this field whenever a JSON schema property declares an enum.

Type declaration

NameType
options?UiNodeInputAttributesOption[]