feat: Add a maximum input length fo the prompt

Refs: OPS-54
This commit is contained in:
0xjrx 2025-03-21 15:06:26 +01:00
parent 440aaa2bd4
commit a89ad5cba9
No known key found for this signature in database
GPG key ID: 61C53033867D0271

View file

@ -8,6 +8,8 @@
<input <input
type="text" type="text"
id="user-input" id="user-input"
minlength="0"
maxlength="25"
placeholder="Type your prompt here..." placeholder="Type your prompt here..."
class="w-full px-4 py-3 text-lg border-2 border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-violet-600" class="w-full px-4 py-3 text-lg border-2 border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-violet-600"
/> />