If a column in dataset contains brackets in its name, console returns syntax error containing column name when using select_group_ui() and select_group_server(). This happens even if the column is not used in filtering.
The error:
shinyapp.ts:442 Error: Syntax error, unrecognized expression: #my-filters-container-Weight (pounds)
at se.error (jquery.js:1681:8)
at se.tokenize (jquery.js:2381:11)
at se.select (jquery.js:2842:20)
at Function.se [as find] (jquery.js:898:9)
at S.fn.init.find (jquery.js:3099:11)
at new S.fn.init (jquery.js:3209:32)
at S (jquery.js:161:10)
at e.<anonymous> (datamods.js:38:5)
at e.<anonymous> (shinyapp.ts:866:40)
at m (shinyapp.ts:5:1357)
This may not be a critical issue, (especially that it's probably not a good practice to use brackets in column names) but think it could potentially reveal columns which may not be intended to see by the user?
Slightly modified example from documentation (datamods v. 1.4.2):
If a column in dataset contains brackets in its name, console returns syntax error containing column name when using select_group_ui() and select_group_server(). This happens even if the column is not used in filtering.
The error:
This may not be a critical issue, (especially that it's probably not a good practice to use brackets in column names) but think it could potentially reveal columns which may not be intended to see by the user?
Slightly modified example from documentation (datamods v. 1.4.2):
ps. thanks for a great package!
edit: Of course I meant normal brackets, not square brackets. Sorry for that.