Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Monster
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Javascript
Monster
Commits
ecc4e204
Verified
Commit
ecc4e204
authored
2 weeks ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: update password value to input event #302
parent
c21268da
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/components/form/login.mjs
+1
-1
1 addition, 1 deletion
source/components/form/login.mjs
source/components/form/password.mjs
+6
-5
6 additions, 5 deletions
source/components/form/password.mjs
with
7 additions
and
6 deletions
source/components/form/login.mjs
+
1
−
1
View file @
ecc4e204
...
...
@@ -487,7 +487,7 @@ function getTranslations() {
case
"
hi
"
:
return
{
username
:
"
उपय
ो
\
A4
\
97
कर नम य ई-मल
"
,
username
:
"
उपय
ग
कर नम य ई-मल
"
,
password
:
"
पसवर
"
,
login
:
"
लग इन कर
"
,
forgotPasswordLink
:
"
पसवर भल गए?
"
,
...
...
This diff is collapsed.
Click to expand it.
source/components/form/password.mjs
+
6
−
5
View file @
ecc4e204
...
...
@@ -20,10 +20,6 @@ import {
import
{
PasswordStyleSheet
}
from
"
./stylesheet/password.mjs
"
;
import
{
fireCustomEvent
}
from
"
../../dom/events.mjs
"
;
import
"
./input-group.mjs
"
;
import
{
addErrorAttribute
}
from
"
../../dom/error.mjs
"
;
import
{
STATE_OFF
,
STATE_ON
}
from
"
./toggle-switch.mjs
"
;
import
{
Observer
}
from
"
../../types/observer.mjs
"
;
import
{
internalSymbol
}
from
"
../../constants.mjs
"
;
export
{
Password
};
...
...
@@ -90,7 +86,7 @@ class Password extends CustomControl {
* @return {string}
*/
get
value
()
{
return
this
[
inputElementSymbol
].
value
;
return
this
.
getOption
(
"
value
"
)
;
}
/**
...
...
@@ -204,6 +200,11 @@ function initEventHandler() {
});
});
this
[
inputElementSymbol
].
addEventListener
(
"
input
"
,
function
(
event
)
{
self
.
setFormValue
(
self
.
value
);
self
.
setOption
(
"
value
"
,
this
.
value
);
})
return
this
;
}
...
...
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