mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(textarea): do not generate duplicate IDs between ion-input and ion-textarea (#22074)
resolves #21542
This commit is contained in:
@@ -19,7 +19,7 @@ import { createColorClasses } from '../../utils/theme';
|
||||
export class Textarea implements ComponentInterface {
|
||||
|
||||
private nativeInput?: HTMLTextAreaElement;
|
||||
private inputId = `ion-input-${textareaIds++}`;
|
||||
private inputId = `ion-textarea-${textareaIds++}`;
|
||||
private didBlurAfterEdit = false;
|
||||
private textareaWrapper?: HTMLElement;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user