TripSit / website

3 stars 3 forks source link

Client-side crash in /factsheets when typing single characters into certain input fields #144

Closed theimperious1 closed 3 months ago

theimperious1 commented 3 months ago

For example the letter C in the "Name", categories, and summary could cause a crash from an undefined error. This happened because the accessorFn functions could return undefined rows in some cases that would be passed to addDictionaryDefs which accesses them on its first line, causing a crash.

It's probably possible that other combinations of things could trigger this error too, but I only initially checked for the reported problem.

I have a fix ready and this issue is just for record keeping purposes.