Skip to content

Commit

Permalink
fix: add missing nothing for dir attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mimshins committed Jan 11, 2025
1 parent f24d8d6 commit 875d846
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web-components/src/text-area/text-area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class TextArea extends BaseTextInput {
id="input"
class="input"
part="input"
dir=${this.dir}
dir=${this.dir || nothing}
aria-invalid=${this.hasError()}
aria-label=${ariaLabel}
aria-labelledby=${ariaLabelledBy}
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/src/text-field/text-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class TextField extends BaseTextInput {
id="input"
class="input"
part="input"
dir=${this.dir}
dir=${this.dir || nothing}
aria-invalid=${this.hasError()}
aria-label=${ariaLabel}
aria-labelledby=${ariaLabelledBy}
Expand Down

0 comments on commit 875d846

Please sign in to comment.