Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
78bcd449
Commit
78bcd449
authored
1 year ago
by
vkovtun
Browse files
Options
Downloads
Patches
Plain Diff
SSDM-13579: Fixed the issue that the input form was cleared when it shouldn't.
parent
93675500
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ui-admin/src/js/components/common/dialog/InputDialog.jsx
+7
-2
7 additions, 2 deletions
ui-admin/src/js/components/common/dialog/InputDialog.jsx
with
7 additions
and
2 deletions
ui-admin/src/js/components/common/dialog/InputDialog.jsx
+
7
−
2
View file @
78bcd449
...
...
@@ -44,13 +44,18 @@ class InputDialog extends React.Component {
const
{
onConfirm
}
=
this
.
props
const
{
value
}
=
this
.
state
onConfirm
(
value
)
this
.
clearInput
()
if
(
!
this
.
props
.
inputValue
)
{
this
.
clearInput
()
}
}
handleCancelClick
()
{
const
{
onCancel
}
=
this
.
props
onCancel
()
this
.
clearInput
()
if
(
!
this
.
props
.
inputValue
)
{
this
.
clearInput
()
}
}
clearInput
()
{
...
...
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