You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a form that uses a number field and a file upload field, I need the file upload to conditionally render based on a certain value in the number field.
Problem
All works as expected when using the keyboard to manually enter a number into the number field or using the arrow keys on the keyboard to step up and down on the number field, but when the mouse is used to step up and down, the conditional rule is not triggered when stepping past the value that is set in the conditional rule. The rule is also not triggered when using the mouse scroll wheel to change the value of the number field.
Other notes
I'm assuming this is NOT expected behavior and that maybe there is just a missing event listener. If this IS expected behavior, then disregard this issue!
Errors and Stack Trace (if available)
No response
How can we reproduce this?
Create a new form
Add a Number field to the form
Add a File Upload field to the form
Navigate to the Rules tab
Add a rule on the File Upload field
Select to show the field when any of the following conditions are met
Add a rule that shows the File Upload field when the number field is greater than or equal to any number, ex 5
Render the form on a page
Navigate to the page in your browser
See behavior of conditional rule
With keyboard:
Enter a number below the rule, see the file upload field is not displayed
Enter a number greater than or equal to the rule, see the File Upload field is displayed
Use arrow keys to step up and down past the rule, see the File Upload field is hidden or shown correctly depending on the value of the Number field
With mouse:
Step up and down using the arrows on the Number field and see the conditional rule is not triggered when stepping up and down past the number set in the rule
Use mouse scroll wheel to change the value of the Number field and see the conditional rule is not triggered when stepping past the number set in the rule
Freeform Edition
Pro
Freeform Version
5.8.3
Craft Version
5.5.7
When did this issue start?
Unsure
Previous Freeform Version
No response
The text was updated successfully, but these errors were encountered:
What happened?
What I'm trying to achieve
When building a form that uses a number field and a file upload field, I need the file upload to conditionally render based on a certain value in the number field.
Problem
All works as expected when using the keyboard to manually enter a number into the number field or using the arrow keys on the keyboard to step up and down on the number field, but when the mouse is used to step up and down, the conditional rule is not triggered when stepping past the value that is set in the conditional rule. The rule is also not triggered when using the mouse scroll wheel to change the value of the number field.
Other notes
I'm assuming this is NOT expected behavior and that maybe there is just a missing event listener. If this IS expected behavior, then disregard this issue!
Errors and Stack Trace (if available)
No response
How can we reproduce this?
Freeform Edition
Pro
Freeform Version
5.8.3
Craft Version
5.5.7
When did this issue start?
Unsure
Previous Freeform Version
No response
The text was updated successfully, but these errors were encountered: