jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
182 stars 35 forks source link

JS error in console #101

Closed steebn closed 4 months ago

steebn commented 5 months ago

I am getting the following error in the browser console

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

jdtcn commented 5 months ago

Hi, what browser are you using?

steebn commented 4 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.