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

Mutating prop in request-public component #498

Open
krmax44 opened this issue Apr 1, 2022 · 0 comments
Open

Mutating prop in request-public component #498

krmax44 opened this issue Apr 1, 2022 · 0 comments

Comments

@krmax44
Copy link
Member

krmax44 commented Apr 1, 2022

This component is mutating a prop using v-model:

<input type="hidden" name="hide_public" v-model="hidePublic" id="id_hide_public"/>

ESLint will treat this as an error, I added an exception in #497

<!-- FIXME: shouldn't be mutating props -->
<!-- eslint-disable vue/no-mutating-props -->
<input
type="hidden"
name="hide_public"
v-model="hidePublic"
id="id_hide_public" />
<!-- eslint-enable vue/no-mutating-props -->

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

No branches or pull requests

1 participant