# DataValidationErrorsProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-datavalidationerrorsprops/

**trait** · [`ferroui-view`](/docs/0.5.0/api/ferroui-view/) · v0.5.0

```rust
trait DataValidationErrorsProps: ElementBuilder
```

The properties and routed events of `DataValidationErrors`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3448)

## Members

- [`errors`](#function-errors)
- [`has_errors`](#function-has_errors)
- [`error_template`](#function-error_template)

<a id="function-errors"></a>

### errors

```rust
fn errors<M>(self: Self, value: impl IntoProp<Option<Vec<ferroui_base::BoxedValue>>, M>) -> Self
```

Sets `DataValidationErrors::errors_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3450)

<a id="function-has_errors"></a>

### has_errors

```rust
fn has_errors<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `DataValidationErrors::has_errors_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3455)

<a id="function-error_template"></a>

### error_template

```rust
fn error_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
```

Sets `DataValidationErrors::error_template_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L3460)

## Trait implementations

- [`DataValidationErrorsProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-datavalidationerrorsprops/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
