diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 00000000..5746fc84 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2024-05-24 - Faux Forms to Native Forms +**Learning:** Users naturally expect to submit chat/comment inputs by hitting the "Enter" key. When using a `
` wrapper with an `` and an `onClick` `
-
+ { + e.preventDefault() + post() + }} + > setText(e.target.value)} placeholder="Write a comment..." + aria-label="Write a comment" className="flex-1 rounded-md border border-white/10 bg-white/5 px-3 py-2 text-xs text-slate-100 placeholder:text-slate-500 focus:outline-none focus:ring-2 focus:ring-sky-400/40" /> -
+ ) }