Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_patterns
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
ui_patterns
Commits
e3d484e9
Commit
e3d484e9
authored
11 months ago
by
Thomas MUSA
Committed by
Pierre Dureau
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3444348
by Musa.thomas: Prevent unexpect ajax trigger on Compoennt Form
parent
2727a5c0
No related branches found
No related tags found
1 merge request
!88
prevent submit on ajax callback
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Element/ComponentForm.php
+1
-0
1 addition, 0 deletions
src/Element/ComponentForm.php
with
1 addition
and
0 deletions
src/Element/ComponentForm.php
+
1
−
0
View file @
e3d484e9
...
...
@@ -178,6 +178,7 @@ class ComponentForm extends ComponentFormBase {
'wrapper'
=>
$wrapper_id
,
'effect'
=>
'fade'
,
],
'#executes_submit_callback'
=>
FALSE
,
'#empty_value'
=>
''
,
'#empty_option'
=>
t
(
'- None -'
),
'#required'
=>
TRUE
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment