verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 68 forks source link

Uncaught TypeError: t is not a function - fields that have a character count/word #1919

Closed anchovy closed 1 week ago

anchovy commented 2 weeks ago

Describe the bug

This seems to be simular to the issue #1740 - but it's a max-characters limit that triggering it this time.

When we've got a character limit - on the first character entered we get the console error:

TypeError: t is not a function
    at text-limit.js?v=1717970014:1:25277

If I then change it to a 'Words' limit - on the first character entered we get the console error:

text-limit.js?v=1717970014:1 Uncaught TypeError: t is not a function
    at text-limit.js?v=1717970014:1:25647

Steps to reproduce

  1. Add a new text field and limit the field to 4 characters or words
  2. Load the form and enter a 4 character and view the console

Form settings

Craft CMS version

Craft Pro 3.9.13

Plugin version

1.6.43

Multi-site?

No

Additional context

No response

engram-design commented 2 weeks ago

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-3 as 1.6.43".

anchovy commented 2 weeks ago

Thanks @engram-design What's the eta for this release - this code is out on live.

engram-design commented 2 weeks ago

@anchovy Usually within a few days, probably mid-week.

engram-design commented 1 week ago

Fixed in 1.6.44