Skip to content

Commit 1b342f1

Browse files
author
minjk-bl
committed
Edit placeholder for DataSelector, VarSelector2, SuggestInput components
1 parent 8ab4d5e commit 1b342f1

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

js/com/component/DataSelector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ define([
5555
allowDataType: ['DataFrame', 'Series', 'ndarray', 'list', 'dict'], // default allow data types
5656
// additional options
5757
classes: '',
58-
placeholder: '',
58+
placeholder: 'Select variable',
5959
...this.prop
6060
}
6161

js/com/component/SuggestInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ define([
1414

1515
_init() {
1616
this._value = "";
17-
this._placeholder = "";
17+
this._placeholder = "Select variable";
1818
this._compID = "";
1919
this._additionalClass = "";
2020
this._normalFilter = true;

js/com/component/VarSelector2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ define([
1414

1515
_init() {
1616
this._value = "";
17-
this._placeholder = "";
17+
this._placeholder = "Select variable";
1818
this._compID = "";
1919
this._additionalClass = "";
2020
this._normalFilter = true;

js/m_visualize/Chart.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,17 +407,17 @@ define([
407407
var that = this;
408408

409409
let xSelector = new DataSelector({
410-
pageThis: this, id: 'x', placeholder: 'Select data'
410+
pageThis: this, id: 'x'
411411
});
412412
$(this.wrapSelector('#x')).replaceWith(xSelector.toTagString());
413413

414414
let ySelector = new DataSelector({
415-
pageThis: this, id: 'y', placeholder: 'Select data'
415+
pageThis: this, id: 'y'
416416
});
417417
$(this.wrapSelector('#y')).replaceWith(ySelector.toTagString());
418418

419419
let zSelector = new DataSelector({
420-
pageThis: this, id: 'z', placeholder: 'Select data'
420+
pageThis: this, id: 'z'
421421
});
422422
$(this.wrapSelector('#z')).replaceWith(zSelector.toTagString());
423423
}

0 commit comments

Comments
 (0)