ProtoTwin API
    Preparing search index...

    Function Filter

    • Property decorator that specifies that the dropdown for the property value should be filtered.

      Type Parameters

      • T

      Parameters

      • filter: (target: any, value: T) => boolean

        The filter function, which returns true if the value should be shown in the dropdown.

      Returns PropertyDecorator

      The property decorator instance.

      Used to hide certain values from the dropdown/select list.