@sheerid/jslib
    Preparing search index...

    Type Alias FormSelectChoice<v, l>

    A model to back many of this library's <select> elements. For compatibility, a default for value of string or number is allowed. Made generic to allow arbitrary types (e.g. FormSelectChoice<Locale, string>)

    type FormSelectChoice<v = string | number, l = string> = {
        label: l;
        value: v;
    }

    Type Parameters

    • v = string | number
    • l = string
    Index

    Properties

    Properties

    label: l
    value: v