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
!4
feat/created new login component
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat/created new login component
feat/Login
into
main
Overview
0
Commits
1
Pipelines
0
Changes
6
Merged
Jens Christian Aanestad
requested to merge
feat/Login
into
main
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
6
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
826fd3da
1 commit,
1 year ago
6 files
+
116
−
15
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
src/components/InputFields/BaseInput.vue
0 → 100644
+
37
−
0
Options
<
script
setup
lang=
"ts"
>
const
props
=
defineProps
({
label
:
{
type
:
String
,
default
:
""
},
type
:
{
type
:
String
,
default
:
"
text
"
},
placeholder
:
{
type
:
String
,
default
:
""
},
inputId
:
{
type
:
String
,
required
:
true
}
});
</
script
>
<
template
>
<div>
<label
:for=
"inputId"
>
{{
label
}}
</label>
<input
:type=
"props.type"
class=
"form-control"
:placeholder=
"props.placeholder"
:id=
"inputId"
required
/>
<div
class=
"invalid-feedback"
>
Invalid
{{
label
}}
</div>
<div
class=
"valid-feedback"
>
Correct
{{
label
}}
</div>
</div>
</
template
>
<
style
scoped
>
</
style
>
\ No newline at end of file
Loading