Replacing all spaces in string with dashes, instead of some
This commit is contained in:
parent
2815d88858
commit
8bc0a291cb
1 changed files with 1 additions and 3 deletions
|
|
@ -121,9 +121,7 @@ export default {
|
||||||
return this.isMultiSelect ? "checkbox" : "radio";
|
return this.isMultiSelect ? "checkbox" : "radio";
|
||||||
},
|
},
|
||||||
buttonId() {
|
buttonId() {
|
||||||
return `${this.groupName?.replace(" ", "-")}-${this.value
|
return `${this.groupName}-${this.value}`.replaceAll(" ", "-");
|
||||||
?.toString()
|
|
||||||
?.replace(" ", "-")}`;
|
|
||||||
},
|
},
|
||||||
isValueSelectedOnClick() {
|
isValueSelectedOnClick() {
|
||||||
return this.isMultiSelect || this.selectingInitiatesLoad;
|
return this.isMultiSelect || this.selectingInitiatesLoad;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue