Function adjacentField

  • Creates a field adjacent to some form unit.

    Suitable e.g. for buttons or error indicators.

    The controls of adjacent field are based on the ones of the unit it is adjacent to.

    Type Parameters

    • TValue

      Adjacent field value type.

    • TAdjacentTo extends FormUnit<unknown, TAdjusted, any, TAdjacentTo>

      A type of form unit the field is adjacent to.

    • TAdjusted extends FormUnit.Controls<unknown, TAdjusted> = ControlsType<TAdjacentTo>

      A type of controls to adjust. I.e. the ones of the form unit the field is adjacent to.

    • TSharer extends object = SharerType<TAdjacentTo>

      Adjacent field sharer component type.

    Parameters

    Returns Field<TValue, TSharer>

Generated using TypeDoc