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

Create country field with dropdown edit mode #1864

Merged
merged 6 commits into from
Dec 3, 2024

Conversation

tintinthong
Copy link
Contributor

@tintinthong tintinthong commented Dec 2, 2024

This creates a country field which is a field definition but it gets data of country codes from a cdn. This is meant to support the form filling of an address field https://linear.app/cardstack/issue/CS-7410/refine-address-field

Screenshot 2024-12-02 at 20 46 15 Screenshot 2024-12-02 at 20 46 09

Before we have feature of data realms, we would need this to enumerate fields inside of a dropdown

Possible alternatives

We can also hardcode the data inside of the country field itself

@tintinthong tintinthong force-pushed the introduce-country-dropdown branch from ee69385 to df2865a Compare December 2, 2024 08:08
Copy link

github-actions bot commented Dec 2, 2024

Host Test Results

       1 files  ±    0         1 suites  ±0   38m 11s ⏱️ + 18m 27s
   687 tests +    1     685 ✔️ ±    0  1 💤 ±0  1 +1 
1 296 runs  +605  1 293 ✔️ +603  2 💤 +1  1 +1 

For more details on these failures, see this check.

Results for commit 0ade0a2. ± Comparison against base commit 3400152.

♻️ This comment has been updated with latest results.

@tintinthong tintinthong changed the title Introduce country dropdown field Create country dropdown field Dec 2, 2024
@tintinthong tintinthong changed the title Create country dropdown field Create country field with dropdown edit mode Dec 2, 2024
@tintinthong tintinthong requested review from burieberry and a team December 2, 2024 15:19
Copy link
Contributor

@burieberry burieberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@tintinthong tintinthong merged commit 5c2c6ec into main Dec 3, 2024
33 of 35 checks passed
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

Successfully merging this pull request may close these issues.

3 participants