Skip to content

FileUpload in default theme misses GetFormFieldClass #1495

@PhyxionNL

Description

@PhyxionNL

Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)

17

Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)

17

Issue summary

<input type="file" name="@Model.Name" id="@Model.Id" data-umb="@Model.Id" @(Model.AllowMultipleFileUploads ? "multiple" : string.Empty)

Should be:

<input class="@Html.GetFormFieldClass(Model.FieldTypeName)"
       type="file" name="@Model.Name" id="@Model.Id" data-umb="@Model.Id" @(Model.AllowMultipleFileUploads ? "multiple" : string.Empty)

Specifics

No response

Steps to reproduce

See FieldType.FileUpload.cshtml

Expected result / actual result

This is included...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions