LWT JavaScript API
    Preparing search index...

    Function handleMediaDirChange

    • Handle media directory selection change. Copies selected path to the target field.

      Parameters

      • selectEl: HTMLSelectElement

        The directory select element

      • targetFieldName: string

        Name of the form field to update

      Returns void