Skip to content

Change the FieldObjectBase SetAsDisabled method to not set required to 0 #20

@adrianstovall71

Description

@adrianstovall71

RarelySimple.AvatarScriptLink/Objects/Advanced/Abstracts/FieldObjectBase.cs has a method called SetAsDisabled.

I can think of a few different scriptlink projects where automatically setting a value for required when changing enabled/disabled would break desired operation of the form (maybe another script was supposed to pull a value and the form shouldn't be submittable without it, but manual entry also shouldn't be allowed.

I would suggest removing the line to unrequire the field.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions