0

I have this code:

 <textarea id="description" class="form-control{{ $errors->has('description') ? ' is-invalid' : '' }}" name="description" rows="3" :maxlength="max" v-model="text" required>{{ $post->description ?? old('description') }}</textarea>

When exists: $post->description text in textarea not showing. Why? When I remove v-model="text" all working..

In App.js:

const app = new Vue({
el: '#app',
data: {
    max: 137,
    text: '',
    textIm: '',
}
});
Dumitru
  • 2,053
  • 6
  • 20
  • 45

0 Answers0