PT option updates

pull/6032/head
tugcekucukoglu 2024-07-09 10:46:56 +03:00
parent 2d05803e6b
commit 862c277472
3 changed files with 12 additions and 4 deletions

View File

@ -136,6 +136,10 @@ export interface CascadeSelectPassThroughOptions {
* Used to pass attributes to the hidden input container's DOM element. * Used to pass attributes to the hidden input container's DOM element.
*/ */
hiddenInputContainer?: CascadeSelectPassThroughOptionType; hiddenInputContainer?: CascadeSelectPassThroughOptionType;
/**
* Used to pass attributes to the hidden input's DOM element.
*/
hiddenInput?: CascadeSelectPassThroughOptionType;
/** /**
* Used to pass attributes to the hidden selected message's DOM element. * Used to pass attributes to the hidden selected message's DOM element.
*/ */

View File

@ -22,7 +22,7 @@
@focus="onFocus" @focus="onFocus"
@blur="onBlur" @blur="onBlur"
@keydown="onKeyDown" @keydown="onKeyDown"
v-bind="{ ...inputProps, ...ptm('input') }" v-bind="{ ...inputProps, ...ptm('hiddenInput') }"
/> />
</div> </div>
<span :class="cx('label')" v-bind="ptm('label')"> <span :class="cx('label')" v-bind="ptm('label')">
@ -86,10 +86,10 @@
</template> </template>
<script> <script>
import { ConnectedOverlayScrollHandler, UniqueComponentId } from '@primevue/core/utils'; import { absolutePosition, addStyle, findSingle, focus, getOuterWidth, isTouchDevice, relativePosition } from '@primeuix/utils/dom';
import { focus, addStyle, relativePosition, getOuterWidth, absolutePosition, isTouchDevice, findSingle } from '@primeuix/utils/dom'; import { equals, findLastIndex, isEmpty, isNotEmpty, isPrintableCharacter, isString, resolveFieldData } from '@primeuix/utils/object';
import { resolveFieldData, isString, isNotEmpty, isPrintableCharacter, isEmpty, findLastIndex, equals } from '@primeuix/utils/object';
import { ZIndex } from '@primeuix/utils/zindex'; import { ZIndex } from '@primeuix/utils/zindex';
import { ConnectedOverlayScrollHandler, UniqueComponentId } from '@primevue/core/utils';
import AngleRightIcon from '@primevue/icons/angleright'; import AngleRightIcon from '@primevue/icons/angleright';
import ChevronDownIcon from '@primevue/icons/chevrondown'; import ChevronDownIcon from '@primevue/icons/chevrondown';
import SpinnerIcon from '@primevue/icons/spinner'; import SpinnerIcon from '@primevue/icons/spinner';

View File

@ -224,6 +224,10 @@ export interface MultiSelectPassThroughOptions {
* Used to pass attributes to the hidden input container's DOM element. * Used to pass attributes to the hidden input container's DOM element.
*/ */
hiddenInputContainer?: MultiSelectPassThroughOptionType; hiddenInputContainer?: MultiSelectPassThroughOptionType;
/**
* Used to pass attributes to the hidden input's DOM element.
*/
hiddenInput?: MultiSelectPassThroughOptionType;
/** /**
* Used to pass attributes to the hidden first focusable element's DOM element. * Used to pass attributes to the hidden first focusable element's DOM element.
*/ */