I'm currently working on implementing search select functionality in my webpage using the react-select-search npm package.
This is my main component:
import React, { Component } from "react";
import Task from "./task";
// Rest of the code...
The Task component utilizes the selectSearch package:
import React from "react";
import DatePicker from "react-datepicker";
import SelectSearch from "react-select-search";
import "react-datepicker/dist/react-datepicker.css";
import "./tasklist.css";
const Task = (props) => {
// Rest of the code...
Currently, I have managed to retrieve the selected text using the onChange function in the package. However, my goal is to capture the typed text as we type into the input box. I attempted to pass the onKeyUp props to the selectSearch component and access the value 'e' in a function, but I was unsuccessful. Is there a way to accomplish this?