LearnNewsExamplesServices
Frontmatter
id9051
titleEnhancement: Polish Country Field & Inline Label Support
stateClosed
labels
bugenhancementai
assigneestobiu
createdAtFeb 8, 2026, 6:08 PM
updatedAtFeb 8, 2026, 6:10 PM
githubUrlhttps://github.com/neomjs/neo/issues/9051
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 8, 2026, 6:10 PM

Enhancement: Polish Country Field & Inline Label Support

Closed v12.0.0 bugenhancementai
tobiu
tobiu commented on Feb 8, 2026, 6:08 PM

This ticket covers several enhancements and fixes related to the Country field and general inline label support.

Changes:

  1. Neo.form.field.Country:
    • Implement robust flag icon injection via afterSetTriggers override to persist through VDOM restructuring.
    • Add baseCls neo-countryfield for targeted styling.
    • Refactor updateFlag logic to handle visibility and value changes correctly.
    • Remove pickerWidth from class definition (instance-level config).
  2. Neo.form.field.Text:
    • Fix afterSetInputValue to correctly update centerBorderElWidth when labelPosition: 'inline' and content state changes programmatically. This prevents the border from striking through the floating label.
  3. Styling:
    • resources/scss/src/form/field/Country.scss: Add styles for text-transform: capitalize on inputs and reduce padding-left for inline label mode to fit the flag icon better.
    • resources/scss/src/list/Country.scss: Add overflow-x: hidden to prevent layout thrashing and horizontal scrollbars caused by content width calculations.
  4. DevRank Integration:
    • Update ControlsContainer.mjs to use the refined Country field configuration.

Goal: Ensure a polished, bug-free experience for the Country field in inline label mode within the DevRank application.

tobiu added the bug label on Feb 8, 2026, 6:08 PM
tobiu added the enhancement label on Feb 8, 2026, 6:08 PM
tobiu added the ai label on Feb 8, 2026, 6:08 PM
tobiu referenced in commit ee20221 - "feat: Polish Country Field & Inline Label Support (#9051)" on Feb 8, 2026, 6:09 PM
tobiu
tobiu Feb 8, 2026, 6:09 PM

Input from Gemini 3 Pro:

✦ I have implemented the enhancements and fixes described in the ticket.

Commit: feat: Polish Country Field & Inline Label Support (#9051) (ee20221c2)

Key Updates:

  • Country.mjs: Refactored to use afterSetTriggers for robust flag injection, ensuring persistence across VDOM updates. Removed pickerWidth from class.
  • Text.mjs: Fixed afterSetInputValue to correctly update the centerBorderElWidth when using labelPosition: 'inline', resolving the "strikethrough" visual bug on programmatic value changes.
  • SCSS: Added resources/scss/src/form/field/Country.scss for input styling (padding, capitalization) and updated list/Country.scss with overflow-x: hidden.
  • DevRank: Updated ControlsContainer.mjs configuration.

The Country field now works seamlessly with inline labels and programmatic updates.

tobiu assigned to @tobiu on Feb 8, 2026, 6:09 PM
tobiu closed this issue on Feb 8, 2026, 6:10 PM