Fix jwt-token

This commit is contained in:
2025-09-22 07:25:39 +02:00
parent 223ae8980c
commit b8d789adfc
2 changed files with 6 additions and 2 deletions

View File

@@ -641,13 +641,17 @@ const DeviceModal = ({ device, onClose, onSave }) => {
Device ID *
</label>
<input
type="number"
type="text"
name="id"
required
placeholder="e.g. device-001 or sensor-alpha-123"
className="w-full border border-gray-300 rounded-md px-3 py-2 focus:ring-primary-500 focus:border-primary-500"
value={formData.id}
onChange={handleChange}
/>
<p className="text-xs text-gray-500 mt-1">
Enter a unique identifier for the device (letters, numbers, dashes allowed)
</p>
</div>
)}