[Koha-bugs] [Bug 29303] quick add form duplicates HTML ID's

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 21 22:18:05 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29303

--- Comment #1 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 126681
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126681&action=edit
Bug 29303: Give quick add form fields new ID and for attributes

To test:
1.Go to the quick add patron form
2. Use the browser dev tools to notice that there are duplicate ID's for every
input on the qa form. One is showing and one is hidden.
3. These duplicate ID's won't show up in the page source because they are added
with JS.
4. Apply patch
5. Try step 2 again, the quick add form fields should have an ID starting with
'qa_'. The labels 'for' attribute should aslo have this.
6. Make sure the patron quick add form still works.
7. Add several new fields to the patron qa form and make sure everything is
right.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list