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

fix console warning for form elements about readonly target #2555

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

Conversation

larsrickert
Copy link
Collaborator

@larsrickert larsrickert commented Jan 20, 2025

closes #2554

As described in #2554, the issue should already be fixed in Vue version 3.5.2. However, this does not seem to be the case. I assume this might be because we are building the sit-onyx library (prod mode) and then use it in an application (dev mode). Vue might handle prod and dev mode differently.

As temporary fix for our onyx users, I renamed the template refs to be different from the variable name.

I also created follow up tickets:

You can verify the fix by running the demo app and check the console.

Checklist

  • A changeset is added with npx changeset add if your changes should be released as npm package (because they affect the library usage)

@larsrickert larsrickert requested a review from a team as a code owner January 20, 2025 08:59
Copy link

changeset-bot bot commented Jan 20, 2025

🦋 Changeset detected

Latest commit: 1d673ed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
sit-onyx Patch
demo-app Patch
playground Patch
@sit-onyx/chartjs-plugin Patch
@sit-onyx/nuxt Patch
@sit-onyx/vitepress-theme Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix form elements warning for readonly template refs
1 participant