Min Length setting acts as defacto "Field is required" setting


Discourse Version: 2.7.4

Plugin Commit: version 0.7.0

Steps to Reproduce

  1. add composer field
  2. leave “Field is required” empty
  3. Add any value in “Min Length”

When user leaves the composer field empty, error message appears:
…must be at least 10 characters

That makes the field defacto required



here is screen capture for reference


nothing wizard relevant in logs

While this is not a bug per se, I think you’re right. If the field is not required the min length should only apply if there is content entered. We’ll change this.

1 Like

Faiz is keen to do this one after all. He’s working on this this week.


I’ve pushed a fix for this. Do check and confirm.

This topic was automatically closed after 7 days. New replies are no longer allowed.