Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BoldX error #31

Open
GiganticThirstyHerald opened this issue Apr 9, 2021 · 2 comments
Open

BoldX error #31

GiganticThirstyHerald opened this issue Apr 9, 2021 · 2 comments

Comments

@GiganticThirstyHerald
Copy link

GiganticThirstyHerald commented Apr 9, 2021

Hello!
I've copy-pasted your BoldX scripts to my table and got this error:

TypeError: Cannot read property 'indexOf' of null
    at [unknown function](Code:37:51)
    at checkWords(Code:37:25)
    at main(Code:28:11)
@GiganticThirstyHerald
Copy link
Author

GiganticThirstyHerald commented Apr 9, 2021

And I've found what's going on.
If any cells in range are empty, it returns this error.
How to work around this?

Also, for some reason, it doesn't work with upper-case letters, even tho, regex match should match them.

@AlbertBaubleDeem
Copy link

The index.html is broken as the function runBoldX() cannot retrieve values of elements range and words. I am a beginner, so I don't know how to fix it. I just used Code.gs and hardcoded my needed values into the main() :)

function runBoldX() { var range = document.getElementById("range").value; var words = document.getElementById("words").value; google.script.run.main(range, words);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants