mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10282] screen reader personal files perform actions empty state not announced by screen reader (#11444)
* [ACS-10282] Display and read errors for actions values * [ACS-10282] Added documentation
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
---
|
||||
Title: CardViewPropertyValidator directive
|
||||
Added: v8.3.0
|
||||
Status: Active
|
||||
Last reviewed: 2025-12-10
|
||||
---
|
||||
|
||||
# [CardViewPropertyValidator directive](../../../lib/core/src/lib/card-view/directives/card-view-property-validator.directive.ts "Defined in card-view-property-validator.directive.ts")
|
||||
|
||||
Checks validators defined on property.
|
||||
|
||||
## Basic Usage
|
||||
|
||||
```html
|
||||
<input
|
||||
adf-card-view-property-validator
|
||||
[property]="property"
|
||||
(validated)="onValidation($event)"/>
|
||||
```
|
||||
|
||||
## Class members
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
|----------|---------------------------------------------------------------------------------------------------|---------------|-----------------------------------------------------|
|
||||
| property | [`CardViewBaseItemModel`](../../../lib/core/src/lib/card-view/models/card-view-baseitem.model.ts) | | Property for which validations should be triggered. |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
|-----------|------------------------------------------------------------------------|----------------------------------------------------------------------------------|
|
||||
| validated | [`EventEmitter`](https://angular.io/api/core/EventEmitter)`<string[]>` | Emitted after validation. Emits list of errors or empty array if input is valid. |
|
||||
Reference in New Issue
Block a user