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:
nmemmert committed 2025-12-16 13:08:40 -05:00
1 parent 02a71f980a
commit 6b00530a89
6 files changed
+12 -12

No files matched your search

+4 -4
View File
@@ -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 })}
/>