Extracting the input element to make it reusable! - TanStack