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

em dash in session name leads to Uncaught DOMException: String contains an invalid character #17

Closed
j19sch opened this issue Jul 19, 2021 · 3 comments
Assignees
Labels

Comments

@j19sch
Copy link

j19sch commented Jul 19, 2021

It's possible to put an em dash in a Session's name, but then you can't save the schedule.

Steps to reproduce

  1. Input an em dash as a Session's name.
  2. Click the green plus icon.
  3. Click the open lock icon in the top-left.

Result

  • Lock icon remain open, page remains in edit mode.
  • Browser console shows a Uncaught DOMException: String contains an invalid character error
Uncaught DOMException: String contains an invalid character bundle.js:2
    onClick https://localschedule.netlify.app/bundle.js?6798957bbfda9b9200f0becc03307fd0657706fe:2
    React 12
        ki
        ji
        mi
        lf
        wi
        Kd
        pc
        Wf
        <anonymous>
        uf
        Qd
        sc
    bind_applyFunctionN self-hosted:1373
    sc self-hosted:1336
    React 4
        unstable_runWithPriority
        Da
        <anonymous>
        Ei
    bind_applyFunctionN self-hosted:1373
    Ei self-hosted:1336
@coderbyheart coderbyheart self-assigned this Jul 19, 2021
@coderbyheart
Copy link
Owner

Nice find, will fix!

@github-actions
Copy link

🎉 This issue has been resolved in version 1.8.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants