fix(components): update storyForm

set `coAuthor` field's initial value to whatever is provided in the `data` prop instead of always null
This commit is contained in:
parent 72fa767db0
commit a2b627cd11
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -75,7 +75,7 @@
</a-form-item> </a-form-item>
</Field> </Field>
<a-form-item label="Co-author (optional)"> <a-form-item label="Co-author (optional)">
<find-user :initial-option="null" fieldName="coAuthor" :multi="false" /> <find-user :initial-option="data.coAuthor" fieldName="coAuthor" :multi="false" />
</a-form-item> </a-form-item>
<Field :unchecked-value="false" :value="true" type="checkbox" name="completed" v-slot="{ value, field, errorMessage }"> <Field :unchecked-value="false" :value="true" type="checkbox" name="completed" v-slot="{ value, field, errorMessage }">
<a-checkbox v-bind="field"> Complete </a-checkbox> <a-checkbox v-bind="field"> Complete </a-checkbox>