Summary: | Input type email in system preferences prevents multiple addresses | ||
---|---|---|---|
Product: | Koha | Reporter: | Caroline Cyr La Rose <caroline.cyr-la-rose> |
Component: | System Administration | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook, gmcharlt, martin.renvoize, philippe.blouin |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16786 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12802 |
||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 27805 | ||
Bug Blocks: | |||
Attachments: | Bug 31376: Attempt to allow comma delimeted list of emails for preferences |
Description
Caroline Cyr La Rose
2022-08-16 21:45:05 UTC
If it's not possible to adjust the validation, let me know and I'll change the manual so that it doesn't confuse users. This isn't something I'm likely to work on, but I was looking at the "email" input type today for other reasons, and I did notice that you can provide a "multiple" attribute to provide a list of comma separated email addresses: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email#multiple Although if you do that, then the "required" attribute doesn't work anymore. That would be OK for system preferences like NoticeBcc but not for other fields (like self-registration or borrower modification). I had a quick go at this, and although I got it to add 'multiple' to the input field, it still fails validation. I'll post my work in case it helps lead anyone else to the correct solution. Created attachment 160363 [details] [review] Bug 31376: Attempt to allow comma delimeted list of emails for preferences This doesn't work in chrome in my testing.. but I'm not entirely sure why. I even tried commenting out the jQuery validator lines introduced in bug 8000, but that didn't help either. |