Fixed #6867
parent
05530cc474
commit
442026d5f8
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue