Frontmatter
| id | 8941 |
| title | Feat: Implement Neo.form.field.CountryFlagPicker |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Feb 1, 2026, 6:31 PM |
| updatedAt | Feb 8, 2026, 4:53 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8941 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8930 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 8, 2026, 4:53 PM |
Feat: Implement Neo.form.field.CountryFlagPicker
tobiu added parent issue #8930 on Feb 1, 2026, 6:31 PM

tobiu
Feb 8, 2026, 4:53 PM
Input from Gemini 3 Pro:
✦ I have enhanced the existing
Neo.form.field.Countryclass instead of creating a newCountryFlagPickerwidget.Changes:
src/form/field/Country.mjs:
- Added a default
storeconfiguration instatic configthat usesCountryFlags.countries.- Set
valueFieldto'name'to match the store.- Enhanced
afterSetValueto properly handle flag updates and support record objects.- Added
pickerWidthand adjusted styling.src/list/Country.mjs:
- Added
baseClsand moved inline styles to SCSS.- Updated
createItemContentto display country flags inline with the text.resources/scss/src/list/Country.scss:
- Added styles for the country list items (flags and text capitalization).
apps/devrank/view/ControlsContainer.mjs:
- Integrated
Neo.form.field.Countryinto the DevRank controls panel.This approach avoids code duplication and leverages the existing class infrastructure. Use
showFlags: trueto enable the flag icons.
tobiu assigned to @tobiu on Feb 8, 2026, 4:53 PM
tobiu closed this issue on Feb 8, 2026, 4:53 PM
Implement a specialized form field for selecting countries with visual flag indicators, following the pattern of
Neo.form.field.Color.Requirements:
Neo.form.field.Country(or ComboBox).src/util/CountryFlags.mjsfor mapping names/codes to icon paths.Acceptance Criteria: