Max length being incorrectly applied

Environment

Discourse Version: tests-passed

Plugin Commit: latest

Other Plugins
thepavilion.io plugins

Steps to Reproduce

  1. Create a wizard (e.g. our “Create Client” wizard)
  2. Create a text input field
  3. Enter a value in “Max length”, then remove it
  4. Save the wizard
  5. Max length of 0 is applied to the field.

Example

https://thepavilion.io/w/create-client

Screen Shot 2021-05-14 at 8.57.30 AM

Logs

1 Like

I’ve a repro from a site now on this. Taking a look

I’ve pushed a fix to this. This should be fine now.

p.s.
Set a topic close timer for 3 days unless we have any remaining concerns.