Type InputOTPSemantics
type InputOTPSemantics struct {
ID ui.ID
Label string
Value string
Hint string
Slots int
Focused bool
Disabled bool
ReadOnly bool
Invalid bool
ActiveSlot int
HasActiveSlot bool
SelectionStart int
SelectionEnd int
HasSelection bool
CompositionStart int
CompositionEnd int
HasComposition bool
}InputOTPSemantics is the normalized typed state exposed to an accessibility or native editing bridge. Slot offsets are rune indices, not UTF-8 bytes.