# no-custom-modifiers-on-v-model

Rule `vue/no-custom-modifiers-on-v-model`. Disallow custom modifiers on v-model used on the component

- Source: vue
- Technologies: Vue
- Kind: correctness
- Needs type information: no
- Autofix: no
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2057 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/no-custom-modifiers-on-v-model` | no | no | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/no-custom-modifiers-on-v-model.html) |

## Code examples

### Incorrect: the rule reports this

```vue
  <MyComponent v-model.aaa="foo" />
  <MyComponent v-model.aaa.bbb="foo" />
</template>
```

### Correct: the rule accepts this

```vue
<MyComponent v-model="foo" />
<MyComponent v-model.trim="foo" />
<MyComponent v-model.lazy="foo" />
<MyComponent v-model.number="foo" />
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/no-custom-modifiers-on-v-model": "error",
    },
  },
];
```

## Related rules

- [vue/no-bare-strings-in-template](https://lintradar.dev/rules/vue/no-bare-strings-in-template.md): Disallow the use of bare strings in `<template>`
- [vue/no-deprecated-html-elements](https://lintradar.dev/rules/vue/no-deprecated-html-elements.md): Disallow using deprecated HTML elements
- [vue/new-line-between-multi-line-property](https://lintradar.dev/rules/vue/new-line-between-multi-line-property.md): Enforce new lines between multi-line properties in Vue components
- [vue/no-duplicate-attr-inheritance](https://lintradar.dev/rules/vue/no-duplicate-attr-inheritance.md): Enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
- [vue/multiline-ternary](https://lintradar.dev/rules/vue/multiline-ternary.md): Enforce newlines between operands of ternary expressions in `<template>`
- [vue/no-duplicate-class-names](https://lintradar.dev/rules/vue/no-duplicate-class-names.md): Disallow duplication of class names in class attributes

---

Web page: https://lintradar.dev/rules/vue/no-custom-modifiers-on-v-model. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
