Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[next] fix(NcCheckboxRadioSwitch): Pass attrs to input if available #5508

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Apr 20, 2024

Backport of #5507

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug Something isn't working 3. to review Waiting for reviews feature: checkbox-radio-switch Related to the checkbox-radio-switch component labels Apr 20, 2024
@susnux
Copy link
Contributor

susnux commented Apr 20, 2024

On vue3 this requires special handling, as style and class are no longer special attributes but included in attrs we need to filter them out and always apply to the root.

@susnux susnux marked this pull request as ready for review April 20, 2024 20:29
@susnux susnux force-pushed the backport/5507/next branch 3 times, most recently from 21ae8f6 to e361276 Compare April 22, 2024 13:06
@susnux susnux requested a review from ShGKme April 22, 2024 13:06
If not button type, pass the attrs to the input element to allow setting aria tags like `aria-invalid` and `aria-errormessage`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
Copy link
Contributor

susnux commented May 8, 2024

@ShGKme anything more needed? :)

@susnux susnux added this to the 9.0.0 milestone May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: checkbox-radio-switch Related to the checkbox-radio-switch component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants