mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 03:58:01 +00:00
KV Download Value Stringify Toggle (#23747)
* adds stringify toggle to masked-input download modal * updates stringify toggle copy and adds a test * adds changelog entry
This commit is contained in:
@@ -35,6 +35,7 @@ export default class MaskedInputComponent extends Component {
|
||||
textareaId = 'textarea-' + guidFor(this);
|
||||
@tracked showValue = false;
|
||||
@tracked modalOpen = false;
|
||||
@tracked stringifyDownload = false;
|
||||
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
@@ -62,7 +63,12 @@ export default class MaskedInputComponent extends Component {
|
||||
this.args.onKeyUp(name, value);
|
||||
}
|
||||
}
|
||||
|
||||
@action toggleMask() {
|
||||
this.showValue = !this.showValue;
|
||||
}
|
||||
|
||||
@action toggleStringifyDownload(event) {
|
||||
this.stringifyDownload = event.target.checked;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user