Rich text RTE out of the box validation bug
Hi,
I have an issue when using the rich text input field (cq/gui/components/authoring/dialog/richtext) in a dialog. Notice that I am using the rich text input field as a field of the dialog itself and not as in-place editor.
The bug happens when I am trying to add a hyperlink through the link plugin. The value of the hyperlink is required, but even if I press cancel (so I don't really add the link), the validation still occurs and I can't submit the whole dialog. I reproduced this bug on a clean AEM instance version 6.3.1.1. Do you know how to solve this issue?
I am also adding the steps to reproduce the bug.
dialog definition overview:


dialog initial state:

select text and press on the hyperlink plugin

I do not add the link and press cancel (X)
I try to submit the form, but nothing happens. Probably the validation of the whole form returns false.