fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

add validation to the search #250

Closed smcalilly closed 11 months ago

smcalilly commented 11 months ago

we need to require text in the search input before a user is able to click "search".

hopefully it's as simple as adding a required attribute to the select html element: https://github.com/fpdcc/ccfp-asset-dashboard/blob/master/asset_dashboard/static/js/components/maps/SelectAssetsMap.js#L248