Skip to content

MandatoryByDefault does not work #1455

@AaronSadlerUK

Description

@AaronSadlerUK

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

16.1.0

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

16.2.0

Issue summary

I am creating a custom field type and overriding MandatoryByDefault with true, but my fieldtype it not being added as mandatory

You can see it being registered here:
https://github.com/UmbHost/Umbraco.Community.Forms.Intl_Tel_Input/blob/50e5a8702b02b9d6c18a8f86ae1cc05ed7c51139/Umbraco.Community.Forms.Intl_Tel_Input/FieldTypes/IntlTelInputFieldType.cs#L59

Specifics

No response

Steps to reproduce

Install Umbraco.Community.Forms.Intl_Tel_Input 6.0.0-beta0004 from NuGet

Add the field to a form

Expected result / actual result

The field should be added as mandatory, but it is not


This item has been added to our backlog AB#57289

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