Skip to content

Commit 84b7ed4

Browse files
author
minjk-bl
committed
Groupby - disable typing on columns input tag
1 parent 7acd5c8 commit 84b7ed4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/vpGroupby.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,14 @@ define([
206206
// groupby column
207207
page.appendLine('<div>');
208208
page.appendFormatLine('<label for="{0}" class="{1}">{2}</label>', 'vp_gbBy', 'vp-orange-text wp80', 'Groupby');
209-
page.appendFormatLine('<input type="text" id="{0}"/>', 'vp_gbBy');
209+
page.appendFormatLine('<input type="text" id="{0}" disabled/>', 'vp_gbBy');
210210
page.appendFormatLine('<button id="{0}" class="{1}">{2}</button>', 'vp_gbBySelect', 'vp-button wp50', 'Edit');
211211
page.appendLine('</div>');
212212
page.appendLine('<hr style="margin: 10px 0;"/>');
213213
// display column
214214
page.appendLine('<div>');
215215
page.appendFormatLine('<label for="{0}" class="{1}">{2}</label>', 'vp_gbColumn', 'wp80', 'Columns');
216-
page.appendFormatLine('<input type="text" id="{0}">', 'vp_gbColumn');
216+
page.appendFormatLine('<input type="text" id="{0}" disabled>', 'vp_gbColumn');
217217
page.appendFormatLine('<button id="{0}" class="{1}">{2}</button>', 'vp_gbColumnSelect', 'vp-button wp50', 'Edit');
218218
page.appendLine('</div>');
219219
// method

0 commit comments

Comments
 (0)