Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/checkbox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ import LabelLink from '@site/static/usage/v9/checkbox/label-link/index.mdx';

Helper and error text can be used inside of a checkbox with the `helperText` and `errorText` property. The error text will not be displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-checkbox`. This ensures errors are not shown before the user has a chance to enter data.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.

import HelperError from '@site/static/usage/v9/checkbox/helper-error/index.mdx';

Expand Down
2 changes: 1 addition & 1 deletion docs/api/input-otp.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ import States from '@site/static/usage/v9/input-otp/states/index.mdx';

Helper and error text can be displayed under the input boxes with the `helperText` and `errorText` properties. The error text isn't displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-input-otp`, so errors aren't shown before the user has a chance to enter a code.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the classes need to be added manually based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the classes need to be added manually based on your own validation.

import HelperError from '@site/static/usage/v9/input-otp/helper-error/index.mdx';

Expand Down
2 changes: 1 addition & 1 deletion docs/api/input.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ import Fill from '@site/static/usage/v9/input/fill/index.mdx';

Helper and error text can be used inside of an input with the `helperText` and `errorText` property. The error text will not be displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-input`. This ensures errors are not shown before the user has a chance to enter data.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.

import HelperError from '@site/static/usage/v9/input/helper-error/index.mdx';

Expand Down
2 changes: 1 addition & 1 deletion docs/api/radio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ import EmptySelection from '@site/static/usage/v9/radio/empty-selection/index.md

Helper and error text can be used inside of a radio group with the `helperText` and `errorText` property. The error text will not be displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-radio-group`. This ensures errors are not shown before the user has a chance to enter data.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.

import HelperError from '@site/static/usage/v9/radio/helper-error/index.mdx';

Expand Down
2 changes: 1 addition & 1 deletion docs/api/select.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ import TypeaheadExample from '@site/static/usage/v9/select/typeahead/index.mdx';

Helper and error text can be used inside of a select with the `helperText` and `errorText` property. The error text will not be displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-select`. This ensures errors are not shown before the user has a chance to enter data.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.

import HelperError from '@site/static/usage/v9/select/helper-error/index.mdx';

Expand Down
2 changes: 1 addition & 1 deletion docs/api/textarea.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ import Fill from '@site/static/usage/v9/textarea/fill/index.mdx';

Helper and error text can be used inside of a textarea with the `helperText` and `errorText` property. The error text will not be displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-textarea`. This ensures errors are not shown before the user has a chance to enter data.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.

import HelperError from '@site/static/usage/v9/textarea/helper-error/index.mdx';

Expand Down
2 changes: 1 addition & 1 deletion docs/api/toggle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import Justify from '@site/static/usage/v9/toggle/justify/index.mdx';

Helper and error text can be used inside of a toggle with the `helperText` and `errorText` property. The error text will not be displayed unless the `ion-invalid` and `ion-touched` classes are added to the `ion-toggle`. This ensures errors are not shown before the user has a chance to enter data.

In Angular, this is done automatically through form validation. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.
In Angular, this is done automatically through form validation. Starting in Ionic v9.1, this also works with [signal forms](https://angular.dev/guide/forms/signals/overview) using `[formField]`. In JavaScript, React and Vue, the class needs to be manually added based on your own validation.

import HelperError from '@site/static/usage/v9/toggle/helper-error/index.mdx';

Expand Down
Loading