# vue/no-textarea-mustache

disallow mustaches in <textarea>

  • ⚙️ This rule is included in all of "plugin:vue/essential", "plugin:vue/strongly-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: 12/30/2018, 3:44:02 AM