Skip to content

Commit

Permalink
fix(textarea): do not generate duplicate IDs between ion-input and io…
Browse files Browse the repository at this point in the history
…n-textarea (#22074)

resolves #21542
  • Loading branch information
liamdebeasi committed Sep 11, 2020
1 parent 8b85fe0 commit c72c7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/textarea/textarea.tsx
Expand Up @@ -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;

Expand Down

0 comments on commit c72c7ff

Please sign in to comment.