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";
|
||||
},
|
||||
buttonId() {
|
||||
return `${this.groupName?.replace(" ", "-")}-${this.value
|
||||
?.toString()
|
||||
?.replace(" ", "-")}`;
|
||||
return `${this.groupName}-${this.value}`.replaceAll(" ", "-");
|
||||
},
|
||||
isValueSelectedOnClick() {
|
||||
return this.isMultiSelect || this.selectingInitiatesLoad;
|
||||
|
|
|
|||
Loading…
Reference in a new issue