Removing all spaces from group names
This commit is contained in:
parent
4eea65b58d
commit
bd6d6397ed
1 changed files with 6 additions and 2 deletions
|
|
@ -12,7 +12,7 @@
|
|||
:isWide="true"
|
||||
altText=""
|
||||
isRequired
|
||||
:groupName="`${glassLocation}-${glassName}`"
|
||||
:groupName="replaceAllSpaceWithDash(`${glassLocation}-${glassName}`)"
|
||||
:validationRules="tintValidationRules">
|
||||
<div class="row my-2" aria-live="polite">
|
||||
<div class="col">
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
:loaderEnabled="false"
|
||||
isRequired
|
||||
isSmallQuestionText
|
||||
:groupName="`${glassLocation}-${glassName}-${selectedTint}`"
|
||||
:groupName="replaceAllSpaceWithDash(`${glassLocation}-${glassName}-${selectedTint}`)"
|
||||
:validationRules="partValidationRules" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -210,6 +210,10 @@ export default {
|
|||
}
|
||||
});
|
||||
},
|
||||
|
||||
replaceAllSpaceWithDash(str) {
|
||||
return String(str).replaceAll(" ", "-");
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
selectedTint() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue