We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1605c54 commit 1d64116Copy full SHA for 1d64116
dev/src/views/Text.js
@@ -54,12 +54,9 @@ export default class Text extends EventDispatcher {
54
}
55
56
set tests(val) {
57
- // TODO: determine if it's the same tests. If not, then clear selection.
58
val = val instanceof Array ? val : [];
59
this._tests = this.testList.data = val;
60
this._testMatches = null;
61
- // this._selTest = null;
62
- //if (val.length) { this.testList.selected = val[0].id; }
63
this._reselectTest();
64
65
@@ -367,7 +364,7 @@ export default class Text extends EventDispatcher {
367
364
368
365
_addTest() {
369
366
const o = {
370
- id: "t"+UID.id,
+ id: UID.id,
371
name: "",
372
text: "Enter your test text here.",
373
type: "any"
0 commit comments