Commit 3b405a5c authored by David Foucher's avatar David Foucher

Fix issue #16

parent 717fac43
......@@ -49,7 +49,7 @@
</div>
<div class="row mb-3">
<label for="content"><u>Contenu de la règle</u></label>
<TextAreaAutosize id="content" :value="content" class="rule-modification-text" :class="{editErrorClass: error_flags.notModified }" v-focus/>
<TextAreaAutosize id="content" v-model="content" class="rule-modification-text" :class="{editErrorClass: error_flags.notModified }" v-focus/>
<span v-if="error_flags.notModified" class="text-danger font-weight-light">Aucune modification n'a été renseignée</span>
</div>
<div class="row mb-3">
......
......@@ -87,11 +87,10 @@ export default {
},
created () {
this.val = this.value
this.$el.focus();
//this.$el.focus();
},
methods: {
resize () {
console.log("resized");
const important = this.isHeightImportant ? 'important' : ''
//this.height = `auto${important ? ' !important' : ''}`
this.$nextTick(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment