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

Dictionaries #597

Closed
dmgawel opened this issue Jul 8, 2021 · 2 comments
Closed

Dictionaries #597

dmgawel opened this issue Jul 8, 2021 · 2 comments

Comments

@dmgawel
Copy link

dmgawel commented Jul 8, 2021

Thank you for sharing the updated Roadmap. I absolutely love the direction you've taken with Statamic 3!

I would like to offer a small suggestion based on the "Next up" section. It seems that we're going to get new first-party fieldtypes: "iTunes Category, Language, Country, and Color Swatches". I understand and share that need. Creating a select field for all the countries is not the best experience :D However, I think that some of the problems new first-part fields are meant to solve, could be solved by the concept of Dictionaries, without creating new field types. Let me explain.

How would Dictionaries work?

  1. Dictionary would be a map of keys and labels.
  2. Users would be able to define their Dictionaries.
  3. Statamic would provide some built-in Dictionaries (Countries, etc.)
  4. Dictionaries could be assigned as Options for Select, Checkbox, Color and similar fields.

IMO that would be a very flexible and powerful addition to Statamic :)

@jackmcdade
Copy link
Member

I love this idea!

@dmgawel
Copy link
Author

dmgawel commented Aug 5, 2024

Resolved by statamic/cms#10380 :-)

@dmgawel dmgawel closed this as completed Aug 5, 2024
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