Note

This is a documentation for version 7.0.0-alpha.0.
To check version 6.2.2 go here. To check previous releases go here.

# vue/no-textarea-mustache

disallow mustaches in <textarea>

  • ⚙️ This rule is included in all of "plugin:vue/vue3-essential", "plugin:vue/essential", "plugin:vue/vue3-strongly-recommended", "plugin:vue/strongly-recommended", "plugin:vue/vue3-recommended" and "plugin:vue/recommended".

# 📖 Rule Details

This rule reports mustaches in <textarea>.

<template> <!-- ✓ GOOD --> <textarea v-model="message" /> <!-- ✗ BAD --> <textarea>{{ message }}</textarea> </template>
Now loading...

Note

Interpolation on textareas (<textarea></textarea>) won't work. Use v-model instead. https://vuejs.org/v2/guide/forms.html#Multiline-text

# 🔧 Options

Nothing.

# 📚 Further reading

# 🔍 Implementation

Last Updated: 3/14/2020, 9:09:30 AM