pull/6312/head
tugcekucukoglu 2024-08-29 10:09:13 +03:00
parent e29af346fe
commit 333b576ccd
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ export interface TreePassThroughOptions<T = any> {
* Used to pass attributes to the InputText component. * Used to pass attributes to the InputText component.
* @see {@link InputTextPassThroughOptions} * @see {@link InputTextPassThroughOptions}
*/ */
pcFilter?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>; pcFilterInput?: InputTextPassThroughOptions<TreeSharedPassThroughMethodOptions>;
/** /**
* Used to pass attributes to the InputIcon component. * Used to pass attributes to the InputIcon component.
* @see {@link InputIconPassThroughOptions} * @see {@link InputIconPassThroughOptions}

View File

@ -9,7 +9,7 @@
</div> </div>
</template> </template>
<IconField v-if="filter" :unstyled="unstyled" :pt="ptm('pcFilterContainer')"> <IconField v-if="filter" :unstyled="unstyled" :pt="ptm('pcFilterContainer')">
<InputText v-model="filterValue" autocomplete="off" :class="cx('pcFilterInput')" :placeholder="filterPlaceholder" :unstyled="unstyled" @keydown="onFilterKeydown" :pt="ptm('pcFilter')" /> <InputText v-model="filterValue" autocomplete="off" :class="cx('pcFilterInput')" :placeholder="filterPlaceholder" :unstyled="unstyled" @keydown="onFilterKeydown" :pt="ptm('pcFilterInput')" />
<InputIcon :unstyled="unstyled" :pt="ptm('pcFilterIconContainer')"> <InputIcon :unstyled="unstyled" :pt="ptm('pcFilterIconContainer')">
<!--TODO: searchicon deprecated since v4.0--> <!--TODO: searchicon deprecated since v4.0-->
<slot :name="$slots.filtericon ? 'filtericon' : 'searchicon'" :class="cx('filterIcon')"> <slot :name="$slots.filtericon ? 'filtericon' : 'searchicon'" :class="cx('filterIcon')">