jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
186 stars 34 forks source link

JS error in console #101

Closed steebn closed 6 months ago

steebn commented 8 months ago

I am getting the following error in the browser console

clickAndPositionHandler.js:10 Uncaught SyntaxError: Unexpected token 'export'

jdtcn commented 8 months ago

Hi, what browser are you using?

steebn commented 6 months ago

Sorry for the delay.

I found the issue. The following script tag was placed in the _Host.cshtml file when it shouldn't have:

<script src="_content/BlazorDateRangePicker/clickAndPositionHandler.js"></script>

I removed that and it went away. My apologies.