Fix jwt-token
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user