Fix: Change email input type from email to text to support comma-separated addresses
- Allows users to enter multiple email addresses separated by commas - Updated both Add Resource and Edit Resource forms - Improved placeholder text to show example of comma-separated format
This commit is contained in:
1 parent
02a71f980a
commit
6b00530a89
6 files changed
+12
-12
No files matched your search
+4
-4
@@ -709,8 +709,8 @@ function Dashboard() {
|
||||
<div className="form-group">
|
||||
<label>Alert Email Address (Optional)</label>
|
||||
<input
|
||||
type="email"
|
||||
placeholder="user@example.com (leave empty to use global setting)"
|
||||
type="text"
|
||||
placeholder="user@example.com or alice@example.com,bob@example.com (leave empty to use global setting)"
|
||||
value={formData.email_to || ''}
|
||||
onChange={(e) => setFormData({ ...formData, email_to: e.target.value })}
|
||||
/>
|
||||
@@ -917,8 +917,8 @@ function Dashboard() {
|
||||
<div className="form-group">
|
||||
<label>Alert Email Address (Optional)</label>
|
||||
<input
|
||||
type="email"
|
||||
placeholder="user@example.com (leave empty to use global setting)"
|
||||
type="text"
|
||||
placeholder="user@example.com or alice@example.com,bob@example.com (leave empty to use global setting)"
|
||||
value={editData.email_to || ''}
|
||||
onChange={(e) => setEditData({ ...editData, email_to: e.target.value })}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user