Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ui_suite_uswds
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_suite_uswds
Merge requests
!90
Issue
#3490055
by pdureau: Replace component() function by include()
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3490055
by pdureau: Replace component() function by include()
issue/ui_suite_uswds-3490055:3490055-replace-component-function
into
4.0.x
Overview
0
Commits
2
Pipelines
2
Changes
40
Merged
Stephen Mustgrave
requested to merge
issue/ui_suite_uswds-3490055:3490055-replace-component-function
into
4.0.x
6 months ago
Overview
0
Commits
2
Pipelines
2
Changes
40
Expand
Closes
#3490055
0
0
Merge request reports
Compare
4.0.x
version 1
78ec90c5
6 months ago
4.0.x (base)
and
latest version
latest version
88ce279b
2 commits,
6 months ago
version 1
78ec90c5
1 commit,
6 months ago
40 files
+
296
−
468
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
40
Search (e.g. *.vue) (Ctrl+P)
components/character_count/character_count.twig
+
4
−
8
Options
@@ -7,14 +7,10 @@
'aria-describedby'
:
field_name
~
'-label'
}
)
%}
{{
component
(
'ui_suite_uswds:label'
,
{
label
:
field_label
|
default
(
''
)
}
,
{
for_value
:
field_name
,
}
)
}}
{{
include
(
'ui_suite_uswds:label'
,
{
label
:
field_label
|
default
(
''
),
for_value
:
field_name
,
}
,
with_context
=
false
)
}}
<div
{{
attributes.addClass
(
'usa-character-count'
)
.
setAttribute
(
'data-maxlength'
,
max_length
)
}}
>
<div
class=
"usa-form-group"
>
Loading