Skip to content

TextAttribute: Limit MaxLength to 255 if IsIndexedAttribute #32

@JeremyCaney

Description

@JeremyCaney

If an AttributeDescriptor is set to IsIndexedAttribute, then the MaxLength should be implicitly set to 255, if the MaxLength isn't otherwise set. This will ensure that data isn't truncated when saved to the database—or that the page won't generate an error due to the data exceeding the database definition. (This behavior may vary by the database used.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions