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

allow to specify alternative keys for some field types #98

Merged
merged 4 commits into from
May 23, 2023

Conversation

tyrasd
Copy link
Collaborator

@tyrasd tyrasd commented May 19, 2023

Allows to specify additional alternative keys for text, number, tel, email and url fields.

Necessary to properly define tag keys for openstreetmap/id-tagging-schema#905.

Example

{
    "key": "email",
    "keys": [
        "email",
        "contact:email"
    ],
    "type": "email",
    "placeholder": "example@example.com",
    "label": "Email"
}

Todo:

  • update docs
  • release as v6.3 (this change is backwards compatible, so a v7 is not necessary)

@tyrasd tyrasd added the enhancement New feature or request label May 19, 2023
@tyrasd tyrasd self-assigned this May 23, 2023
@tyrasd tyrasd merged commit 47c1063 into main May 23, 2023
@tyrasd tyrasd deleted the tyrasd-multikey-input branch May 23, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant