Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_ct_service
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_ct_service
Commits
603c2a7b
Commit
603c2a7b
authored
8 months ago
by
Eric Bremner
Committed by
Kevin Paxman
7 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6944: fix that uuid gets set properly on service search block
parent
2c99d667
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!60
ISTWCMS-6095 Update maxlength settings for title, text fields and link fields...
,
!54
ISTWCMS-6944: add id to input label on service search form
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Form/ServiceSearchForm.php
+0
-11
0 additions, 11 deletions
src/Form/ServiceSearchForm.php
with
0 additions
and
11 deletions
src/Form/ServiceSearchForm.php
+
0
−
11
View file @
603c2a7b
...
...
@@ -61,11 +61,6 @@ class ServiceSearchForm extends FormBase {
$placeholder
=
'Search within all services'
;
}
// If there is no uuid, generate it.
if
(
!
$uuid
)
{
$uuid
=
uniqid
();
}
// Add the unique id.
$form
[
'#attributes'
][
'id'
]
=
'service-search-form-'
.
$uuid
;
...
...
@@ -87,12 +82,6 @@ class ServiceSearchForm extends FormBase {
'#attributes'
=>
[
'aria-label'
=>
'search'
],
];
// The uuid hidden element.
$form
[
'uuid'
]
=
[
'#type'
=>
'hidden'
,
'#value'
=>
$uuid
,
];
return
$form
;
}
...
...
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