I have a select input with a couple of options my intention is to show a pop up label with some data when the option is hovered /applied by the user my code snippet is
<span>
<button className='dashboard-border'>
<select
className='dashboard-button-report'
id="page-size" onChange={changeFilter} value={filters}>
<option key="tWeekBar" value="thisWeek" selected={true}>This Week</option>
<option key="lWeekBar" value="lastWeek">Last Week</option>
<option key="tMonthBar" value="thisMonth" >This Month</option>
<option key="lMonthBar" value="lastMonth" >Last Month</option>
<option key="tYearBar" value="thisYear" >This Year</option>
<option key="lYearBar" value="lastYear" >Last Year</option>
<option key="bwDatesBar" value="betweenDates" onMouseEnter={()=>function(){console.log("hello")}} >Between Dates</option>
</select>
</button>
</span>
for start i was trying to get a console output when the option Between dates is hovered upon from the select options but i was unsuccessful.what is wrong with this approach?