diff --git a/package.json b/package.json index 9259ed7..f62d494 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fratch-ui", - "version": "1.1.83", + "version": "1.1.84", "repository": { "type": "git", "url": "https://github.com/JorgeRojo/fratch-ui.git" diff --git a/src/components/Form/InputText/InputText.tsx b/src/components/Form/InputText/InputText.tsx index c3acc61..71c4ec1 100644 --- a/src/components/Form/InputText/InputText.tsx +++ b/src/components/Form/InputText/InputText.tsx @@ -10,8 +10,10 @@ const InputText = forwardRef( ( { className, + cleanable, cleanerClassName, disabled, + id, onBlur, onChange, onClean, @@ -20,10 +22,9 @@ const InputText = forwardRef( onKeyDownCapture, placeholder, readOnly, + title, type = 'text', value, - title, - cleanable, }: InputTextProps, ref ) => { @@ -53,6 +54,8 @@ const InputText = forwardRef( return (
( placeholder={placeholder} readOnly={readOnly} ref={setInnerRef} - type={type} title={title} + type={type} /> {cleanable && (