DesignRevision/shards-dashboard-vue

Cannot pre-fill a text area field

Steffan-Harris opened this issue · 1 comments

Trying to use d-form-textarea and d-textarea with a loaded value by default with v-model:

<d-form-textarea name="feDescription" rows="5" v-modal="test" :value="test" ></d-form-textarea>

But the textarea is blank even though there is a default value for the "test" property.

OK I have resolved this. Turns out I needed to add:
:value.prop="test"