Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRESIDECMS-2906 Client side validation defensive when validator didnt have client side defined #1554

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

teonator
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Dec 16, 2024

Test Results

    1 files  ±0    109 suites  ±0   2m 28s ⏱️ -1s
1 734 tests ±0  1 731 ✅ ±0  3 💤 ±0  0 ❌ ±0 
1 737 runs  ±0  1 734 ✅ ±0  3 💤 ±0  0 ❌ ±0 

Results for commit f73cbf6. ± Comparison against base commit 492f770.

♻️ This comment has been updated with latest results.

@@ -53,13 +53,18 @@
</cfif>

<cfif Len( Trim( formId ) ) and Len( Trim( validationJs ))>
<cfset event.include( assetId="/js/frontend/formbuilder/" )>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little sceptical of this. We're making a dependency on form builder frontend features whereas this layout is for the general preside forms system and is used in both admin and frontend non-formbuilder forms. I feel this logic could/should go somewhere else perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants