Skip to content

Conversation

@vladitasev
Copy link
Contributor

@vladitasev vladitasev commented Jan 19, 2026

The problem: form validity functionality has a lifecycle, independent of the rendering cycle, and can be triggered before the definePromise is resolved and CLDR/translations are available. This is an issue for any component that relies on CLDR or message bundles to return proper form validity information.

Changes:

  • UI5Element.ts now exposes a new public getter definePromise that makes it easy for other modules to access this.constructor.definePromise
  • InputElementsFormSupport.ts awaits for this promise before querying form validity information

closes: #12785

@ui5-webcomponents-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[framework]: CLDR data is loaded after component "formValidity" is fired

3 participants