.@htmx_org Is there a way to prevent form submission on 'Shift+Enter' while still submitting with 'Enter'?
<form id="chat-form"
class="d-flex gap-2"
hx-post
hx-page="./Index"
hx-target=".chat-bubble"
hx-swap="outerHTML"
hx-trigger="submit, keyup[keyCode==13]">
The 7 biggest myths in software engineering I've seen:
- Refactoring later
- Estimations are accurate
- Entity Framework is slow
- Writing tests slows you down
- Code duplication is always bad
- Cloud ☁️ will reduce your costs
- You are safe with 100% test coverage
What's another myth you heard?
BONUS: Exceptions are great for flow control.
Here's why that's not true: https://t.co/IQh2MWCZ4E