Skip to content

showContinents not working #9

Description

@cnsgithub

It's not possible to control continent display via data-showContinents, because custom data attributes must not contain capital letters, see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*:

the name must not contain capital letters.

In niceCountryInput.js this line should be fixed to use lower-case letters only:

this.showContinents = domElement.dataset.showContinents === 'true';

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions