Strengths and AFIs can now be blank

This commit is contained in:
neviyn 2018-11-16 12:57:49 +00:00
parent cfff34b8f7
commit e8dcb4b87f

View File

@ -101,12 +101,12 @@
<b-col> <b-col>
<b-form-group label="Strengths"> <b-form-group label="Strengths">
<b-form-textarea v-model="item.strengths" placeholder="Enter Strengths" :rows="1" <b-form-textarea v-model="item.strengths" placeholder="Enter Strengths" :rows="1"
:max-rows="2" required no-resize> :max-rows="2" no-resize>
</b-form-textarea> </b-form-textarea>
</b-form-group> </b-form-group>
<b-form-group label="Areas of Improvement"> <b-form-group label="Areas of Improvement">
<b-form-textarea v-model="item.improvements" placeholder="Enter Areas of Improvement" <b-form-textarea v-model="item.improvements" placeholder="Enter Areas of Improvement"
:rows="1" :max-rows="2" required no-resize> :rows="1" :max-rows="2" no-resize>
</b-form-textarea> </b-form-textarea>
</b-form-group> </b-form-group>
</b-col> </b-col>
@ -171,8 +171,8 @@ export default {
{ {
type: null, type: null,
rating: null, rating: null,
strengths: null, strengths: "",
improvements: null improvements: ""
} }
], ],
totals: [0, 0, 0, 0, 0, 0, 0, 0], totals: [0, 0, 0, 0, 0, 0, 0, 0],
@ -189,8 +189,8 @@ export default {
this.observations.push({ this.observations.push({
type: null, type: null,
rating: null, rating: null,
strengths: null, strengths: "",
improvements: null improvements: ""
}); });
Vue.nextTick(function() { Vue.nextTick(function() {
window.scrollTo( window.scrollTo(