Rezi
    Preparing search index...

    Function findOptionIndex

    • Find the index of an option by value.

      Parameters

      • value: string

        Value to find

      • options: readonly Readonly<{ disabled?: boolean; label: string; value: string }>[]

        Options array

      Returns number

      Index of the option, or -1 if not found