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">
<span class="p-float-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"
optionValue="value" placeholder="Select One" class="w-full"></Select>
<!--InputText id="ksDocType" v-model="formData.ksDocType" required class="w-full" /-->
<InputText id="ksDocType" v-model="formData.ksDocType" required class="w-full" />
</span>
</div>
@@ -116,7 +114,7 @@ const formData = ref({
ingestionStatus: 'NEW',
type: '', //.md file
ksApplicationName: '', //Jenkins-DevopsJ2Cloud
ksDocType: '',
ksDocType: 'Functional',
ksDocSource: '', //Git Repository - DevopsJ2Cloud CSV System Configuration
defaultChunkSize: 1000,
minChunkSize: 200,