Skip to content

Conversation

@teodosiah
Copy link
Contributor

@teodosiah teodosiah commented Oct 31, 2024

Related to #14647
Specification - https://github.com/IgniteUI/igniteui-angular/wiki/Query-Builder-Validation-Specification

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them
igdmdimitrov and others added 30 commits July 24, 2024 19:44
@teodosiah teodosiah requested a review from gedinakova November 6, 2024 14:28
@teodosiah teodosiah marked this pull request as ready for review November 11, 2024 12:40
@gedinakova gedinakova self-assigned this Nov 14, 2024
teodosiah and others added 2 commits November 18, 2024 12:35
…directives.ts Co-authored-by: Galina Edinakova <gedinakova@infragistics.com>
…directives.ts Co-authored-by: Galina Edinakova <gedinakova@infragistics.com>
@teodosiah teodosiah requested a review from gedinakova November 18, 2024 10:35
CHANGELOG.md Outdated
}
</ng-template>
```
- Added `IgxFieldValidators` that could be used to define basic validation of the search value input based on the field data type.
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this a little more verbose and probably add some snippet?

@teodosiah teodosiah requested a review from gedinakova November 25, 2024 16:18
igdmdimitrov and others added 2 commits November 28, 2024 12:47
) * feat(query-builder): select only one return field in inner query * chore(query-builder): update resource string translations * chore(*): replace *ngIf with @if/@else --------- Co-authored-by: INFRAGISTICS\IPetrov <IPetrov@infragistics.com> Co-authored-by: teodosiah <teodosiah@gmail.com>
pipeArgs?: IFieldPipeArgs;
defaultTimeFormat?: string;
defaultDateTimeFormat?: string;
validators?: any[];
Copy link
Member

Choose a reason for hiding this comment

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

This is still the base for ColumnType right? So this change would affect the the grid and we might have to consider that in the way we expose it for the QB.
Also not sure any[] is a good type for this, technically it's IFieldValidator[] from what I see. Guessing that's because the column already has an internal validators: Validator[] which doesn't match and would error out (that should be a hint).
While the declarative IFieldValidator would actually be better for Xplat purposes, it could be a bit limiting to the validators we support without a mechanism to extend them. This might force us to consider the options for the column validation on xplat as well to keep those in sync.

@github-actions
Copy link

github-actions bot commented Feb 2, 2025

There has been no recent activity and this PR has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Feb 2, 2025
@gedinakova gedinakova removed the status: inactive Used to stale issues and pull requests label Feb 4, 2025
Base automatically changed from dmdimitrov/query-builder-improvements to master February 25, 2025 15:55
@github-actions
Copy link

There has been no recent activity and this PR has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Apr 27, 2025
@github-actions github-actions bot closed this May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

query-builder status: inactive Used to stale issues and pull requests version: 19.0.x ❌ status: awaiting-test PRs awaiting manual verification

10 participants