Skip to content

Conversation

@J-Michalek
Copy link
Contributor

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

I've changed the value of aria-controls attribute from the name of the input to the id of the input.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 25, 2025

npm i https://pkg.pr.new/@nuxt/ui@5312

commit: 1a956d0

Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to name it passworfRef for consistency.

Comment on lines 152 to +153
const passwordVisibility = ref(false)
const passwordRef = useTemplateRef('password')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const passwordVisibility = ref(false)
const passwordRef = useTemplateRef('password')
const passwordRef = useTemplateRef('passwordRef')
const passwordVisibility = ref(false)

/>
<UInput
v-else-if="field.type === 'password'"
ref="password"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ref="password"
ref="passwordRef"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants