-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
With ion-item slot error and helper being deprecated for v7, I'd like to ask for support to be made across all input types not just ion-input and ion-textarea. Including: ion-select and ion-checkbox
Also it would be nice if out of the box the padding/margin is configured so the item doesn't shift that page down when errorText appears that doesn't include helper text.
Describe the Use Case
Use ion-select inside of forms with error messages just like ion-input and ion-textarea
Describe Preferred Solution
Add errorText and helperText properties across all input types such as: ion-select, ion-checkbox, and any other input fields to match functionality with ion-item error and helper slot.
Describe Alternatives
Remove ion-note slot "error" and "helper" deprecation, as they are far more configurable and powerful than the errorText and helperText properties.
Related Code
<ion-item> <ion-label position="floating">Test</ion-label> <ion-select formControlName="test"> <ion-select-option [value]="null">Select</ion-select-option> </ion-select> <ion-note slot="helper"> Helper Text </ion-note> <ion-note slot="error"> Error Text </ion-note> </ion-item>