Skip to content

Conversation

@laundmo
Copy link
Contributor

@laundmo laundmo commented Jul 8, 2025

utils.js used to throw tons of errors using VSCode JS type checking.

This PR adds:

  • JSDoc types and some ignores
  • JSDoc docstrings for some functions
  • Detection of bootstrap for Flash handling, and using bootstrap flash stuff if available
  • in tags inputs, empty inputs aren't parsed as empty string tag [""]
  • various other small changes to code to resolve type errors more nicely

I've mostly tested by clicking through the examples, but i may have missed something.

@mdipierro mdipierro merged commit fbb321d into web2py:master Jul 14, 2025
5 checks passed
@laundmo laundmo deleted the utils-js-improvements branch August 29, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants