Ah I see that Validity check is done by this part, I have absolutely no clue how to use it 😂
Would it be an option to enhance the umb-property element with a simple IsValid and ValidationMessage properties? Data is validated Server SIde anyway
if ('checkValidity' in this._element) {
this.#controlValidator = new UmbFormControlValidator(this, this._element as any, this.#dataPath);
// We trust blindly that the dataPath is available at this stage. [NL]
if (this.#dataPath) {
this.#validationMessageBinder = new UmbBindValidationMessageToFormControl(
this,
this._element as any,
this.#dataPath,
);
this.#validationMessageBinder.value = this.#propertyContext.getValue();
}
}