Update KsNewDocumentForm.vue to set inputtext value for ksDocType

This commit is contained in:
sumedh
2024-10-21 11:04:28 +05:30
parent f67ccf2c4a
commit 8ada2f940d

View File

@@ -33,9 +33,7 @@
<div class="col-12 md:col-6 mb-4"> <div class="col-12 md:col-6 mb-4">
<span class="p-float-label"> <span class="p-float-label">
<label for="ksDocType" v-tooltip="'Specify the type of document e.g, md, pdf,'">KS Document Type</label> <label for="ksDocType" v-tooltip="'Specify the type of document e.g, md, pdf,'">KS Document Type</label>
<Select id="ksDocType" v-model="formData.ksDocType" :options="dropdownItems" required optionLabel="name" <InputText id="ksDocType" v-model="formData.ksDocType" required class="w-full" />
optionValue="value" placeholder="Select One" class="w-full"></Select>
<!--InputText id="ksDocType" v-model="formData.ksDocType" required class="w-full" /-->
</span> </span>
</div> </div>
@@ -116,7 +114,7 @@ const formData = ref({
ingestionStatus: 'NEW', ingestionStatus: 'NEW',
type: '', //.md file type: '', //.md file
ksApplicationName: '', //Jenkins-DevopsJ2Cloud ksApplicationName: '', //Jenkins-DevopsJ2Cloud
ksDocType: '', ksDocType: 'Functional',
ksDocSource: '', //Git Repository - DevopsJ2Cloud CSV System Configuration ksDocSource: '', //Git Repository - DevopsJ2Cloud CSV System Configuration
defaultChunkSize: 1000, defaultChunkSize: 1000,
minChunkSize: 200, minChunkSize: 200,