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
Describe the bug
Validation of the number field does not work if we use it in a acf gutenberg block. It is about validating the maximum value of the field. Arrows work but I can enter any value and save.
To Reproduce
Steps to reproduce the behavior:
Go to custom acf block with number field that has a set maximum value
Click on number field and enter any value.
Click save
Validation did not catch the error and saved the post.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots or Video
If applicable, add screenshots or video to help explain your problem.
Code
Please drag and drop an export of your field group, option page, custom post type or taxonomy JSON here.
If your issue relates to ACF Blocks, please also provide a reproducable code example of your ACF Block including it's block.json so we can reproduce the issue.
Version Information:
WordPress Version 6.6.1
PHP Version 8.2
ACF VersionACF PRO 6.3.6
Browser Chrome 128
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Validation of the number field does not work if we use it in a acf gutenberg block. It is about validating the maximum value of the field. Arrows work but I can enter any value and save.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots or Video
If applicable, add screenshots or video to help explain your problem.
Code
Please drag and drop an export of your field group, option page, custom post type or taxonomy JSON here.
If your issue relates to ACF Blocks, please also provide a reproducable code example of your ACF Block including it's block.json so we can reproduce the issue.
Version Information:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: