create a requiredschema.Text field with pat-tinymce enabled (eg. plone.app.z3cform.widgets.richtext.RichTextWidget)
go to the editform and save it empty
the backend validation comes back with error
fill out value in tiny
save button is still deactivated, because changeing the tiny value doesn't trigger pat-validation to re-validate -> you cannot save form.
This is due to the new z3cform textarea implementation which introduces the required parameter for the richtext field textarea now. In Plone 6.0 the plone.app.textfield markup ignored this parameter and only validated required in the backend.
So thats further why pat-validation deactivates the save button now if a required richtextfield has no input.
Possible solution
try to refactor pat-tinymce to save the value on blur event which would trigger pat-validation again and should fix this problem.
Steps to reproduce:
required
schema.Text
field withpat-tinymce
enabled (eg.plone.app.z3cform.widgets.richtext.RichTextWidget
)pat-validation
to re-validate -> you cannot save form.This is due to the new z3cform textarea implementation which introduces the required parameter for the richtext field textarea now. In Plone 6.0 the plone.app.textfield markup ignored this parameter and only validated required in the backend.
So thats further why pat-validation deactivates the save button now if a required richtextfield has no input.
Possible solution
try to refactor pat-tinymce to save the value on blur event which would trigger pat-validation again and should fix this problem.