Skip to content

Commit

Permalink
Fix ref in react TextInput (#277)
Browse files Browse the repository at this point in the history
Fix ref in react TextInput
  • Loading branch information
denis-n-ko authored Mar 21, 2023
1 parent 674f7c4 commit 62c79d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/inertia-react/resources/js/Components/TextInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default forwardRef(function TextInput({ type = 'text', className = '', is
'border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-indigo-500 dark:focus:border-indigo-600 focus:ring-indigo-500 dark:focus:ring-indigo-600 rounded-md shadow-sm ' +
className
}
ref={localRef}
ref={input}
/>
);
});

0 comments on commit 62c79d5

Please sign in to comment.