pull/6877/head
tugcekucukoglu 2024-11-26 11:00:59 +03:00
parent 05530cc474
commit 442026d5f8
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
import type { DefineComponent, DesignToken, EmitFn, Nullable, PassThrough } from '@primevue/core';
import type { ComponentHooks } from '@primevue/core/basecomponent';
import type { PassThroughOptions } from 'primevue/passthrough';
import 'vue';
import { InputHTMLAttributes } from 'vue';
export declare type InputTextPassThroughOptionType<T = any> = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions<T>) => InputTextPassThroughAttributes | string) | string | null | undefined;
@ -82,7 +82,7 @@ export interface InputTextContext {
/**
* Defines valid properties in InputText component.
*/
export interface InputTextProps {
export interface InputTextProps extends Omit<InputHTMLAttributes, 'size'> {
/**
* Value of the component.
*/

View File

@ -169,7 +169,7 @@ export interface PasswordMeterStateOptions {
/**
* Defines valid properties in Password component.
*/
export interface PasswordProps {
export interface PasswordProps extends Omit<InputHTMLAttributes, 'size'> {
/**
* Value of the component.
*/

View File

@ -10,7 +10,7 @@
import type { DefineComponent, DesignToken, EmitFn, Nullable, PassThrough } from '@primevue/core';
import type { ComponentHooks } from '@primevue/core/basecomponent';
import type { PassThroughOptions } from 'primevue/passthrough';
import 'vue';
import { InputHTMLAttributes } from 'vue';
export declare type TextareaPassThroughOptionType = TextareaPassThroughAttributes | ((options: TextareaPassThroughMethodOptions) => TextareaPassThroughAttributes | string) | string | null | undefined;
@ -86,7 +86,7 @@ export interface TextareaContext {
/**
* Defines valid properties in Textarea component. In addition to these, all properties of TextareaHTMLAttributes can be used in this component.
*/
export interface TextareaProps {
export interface TextareaProps extends Omit<InputHTMLAttributes, 'size'> {
/**
* Value of the component.
*/