79257784

Date: 2024-12-06 11:19:19
Score: 2
Natty:
Report link

for vue but you can rewrite it for vanilla

@keydown="(e: KeyboardEvent) => { if (e.key === '-') e.preventDefault()}"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Maria Gileto