Skip to content

Fix: DOMTokenList error when removing section class #1

Description

@minthemiddle
  • First add a section styling like p-2
  • Then remove it with p-0
  • It works, but you get an error in the console
Uncaught DOMException: Failed to execute 'add' on 'DOMTokenList': The token provided must not be empty. at addComponentClass
  • This is because we pass an empty string in the <option>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions