Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
form-generator
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor 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
Coscine
frontend
libraries
form-generator
Merge requests
!167
Fix: Removing fixed values
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix: Removing fixed values
Issue/2920-fixRemovingValues
into
dev
Overview
1
Commits
8
Pipelines
9
Changes
4
Merged
Sirieam Marie Hunke
requested to merge
Issue/2920-fixRemovingValues
into
dev
7 months ago
Overview
1
Commits
8
Pipelines
9
Changes
4
Expand
coscine/issues#2920
0
0
Merge request reports
Compare
dev
version 7
1bb04b67
7 months ago
version 6
e37993c6
7 months ago
version 5
624aa96c
7 months ago
version 4
0b456aef
7 months ago
version 3
43e9ee33
7 months ago
version 2
9f325ef6
7 months ago
version 1
613ec90f
7 months ago
dev (base)
and
latest version
latest version
e2474a8e
8 commits,
7 months ago
version 7
1bb04b67
7 commits,
7 months ago
version 6
e37993c6
6 commits,
7 months ago
version 5
624aa96c
5 commits,
7 months ago
version 4
0b456aef
4 commits,
7 months ago
version 3
43e9ee33
3 commits,
7 months ago
version 2
9f325ef6
2 commits,
7 months ago
version 1
613ec90f
1 commit,
7 months ago
4 files
+
226
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/composables/fixedValueWrapper.ts
+
17
−
5
Options
@@ -136,6 +136,7 @@ export const useFixedValues = (
nodeName
:
string
,
)
=>
{
const
currentFixedValueObject
=
getClonedFixedValueObject
(
nodeName
);
setIndividualFixedValue
(
currentFixedValueObject
,
InvisibleFixedValue
,
@@ -151,16 +152,27 @@ export const useFixedValues = (
DefaultFixedValue
,
fixedFixedValue
,
);
setIndividualFixedValue
(
currentFixedValueObject
,
DefaultFixedValue
,
defaultFixedValue
,
);
if
(
defaultFixedValue
.
length
===
0
&&
fixedFixedValue
.
length
===
0
&&
values
.
value
.
every
((
entry
)
=>
entry
.
value
===
''
)
)
{
currentFixedValueObject
[
DefaultFixedValue
]
=
[];
}
else
{
setIndividualFixedValue
(
currentFixedValueObject
,
DefaultFixedValue
,
defaultFixedValue
,
);
}
removeIndividualFixedValue
(
currentFixedValueObject
,
FixedFixedValue
,
defaultFixedValue
,
);
inputFixedValues
(
currentFixedValueObject
,
nodeName
);
};
Loading