Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
idatt2106-2024-07
frontend
Merge requests
!100
Documentation/javadoc
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Documentation/javadoc
documentation/Javadoc
into
main
Overview
0
Commits
3
Pipelines
2
Changes
32
Merged
Jens Christian Aanestad
requested to merge
documentation/Javadoc
into
main
1 year ago
Overview
0
Commits
3
Pipelines
2
Changes
32
Expand
0
0
Merge request reports
Compare
main
version 1
bd803b22
1 year ago
main (base)
and
latest version
latest version
ee761f52
3 commits,
1 year ago
version 1
bd803b22
2 commits,
1 year ago
32 files
+
857
−
211
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
32
Search (e.g. *.vue) (Ctrl+P)
src/components/BaseComponents/Input/BaseInput.vue
+
8
−
0
Options
@@ -52,8 +52,16 @@ const props = defineProps({
}
});
// Form reference in order to display validations input
const
formRef
=
ref
();
/**
* Adds the "was-validated" class to the input element, and emits
* an 'inputChangeEvent' to parent component.
*
* @param event The input event object
*/
const
onInputEvent
=
(
event
:
any
)
=>
{
formRef
.
value
.
classList
.
add
(
"
was-validated
"
)
emit
(
'
inputChangeEvent
'
,
event
.
target
.
value
)
Loading