Skip to content

Validation: Update validationCallback options.value Type (#8263)#8266

Merged
arman-boyakhchyan merged 1 commit intoDevExpress:26_1from
arman-boyakhchyan:validationcallback-value-update-26-1
Dec 24, 2025
Merged

Validation: Update validationCallback options.value Type (#8263)#8266
arman-boyakhchyan merged 1 commit intoDevExpress:26_1from
arman-boyakhchyan:validationcallback-value-update-26-1

Conversation

@arman-boyakhchyan
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the type specification for the options.value parameter in the AsyncRule's validationCallback function from String | Number to any. This change aligns the AsyncRule documentation with the CustomRule documentation, which already correctly uses the any type. The update is technically accurate since validators can be applied to various editor types (date pickers, checkboxes, select boxes, etc.), not just text boxes and number boxes.

Key Changes

  • Updates the options.value type from the restrictive String | Number to the more accurate any type
  • Likely adds clarifying text that the value type depends on the validated editor, matching the CustomRule documentation

@arman-boyakhchyan arman-boyakhchyan merged commit 9c448e3 into DevExpress:26_1 Dec 24, 2025
12 checks passed
@arman-boyakhchyan arman-boyakhchyan deleted the validationcallback-value-update-26-1 branch December 24, 2025 08:17
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.

3 participants