Currently, any meta-characters in the option name breaks JSVizConfigurator due to invalid selector ids. One use case would to allow dots since it is common to represent nested objects in a flattened dot notation format.
For example while utilizing a graphing library such as plotly, and configuring user controls for individual traces, user configs may grow to be quite complex and may require name spacing to handle splitting out the configurations.
IE:
A workaround i did was to wrap all selectors like so:
function safeSelector (str) {
return str.replace(/\./g, '_')
}
Currently, any meta-characters in the option name breaks JSVizConfigurator due to invalid selector ids. One use case would to allow dots since it is common to represent nested objects in a flattened dot notation format.
For example while utilizing a graphing library such as plotly, and configuring user controls for individual traces, user configs may grow to be quite complex and may require name spacing to handle splitting out the configurations. IE:![image](https://user-images.githubusercontent.com/32781407/94056996-a1d86a00-fda4-11ea-8a8f-004a62b84862.png)
A workaround i did was to wrap all selectors like so:
https://github.com/pete-thompson/spotfire-visuals/blob/8b7bb0bc970054c7de18cfa9c65e0074a529a5c2/lib/JSVizConfigurator.js#L179