[Koha-bugs] [Bug 19249] New: date picker broken in quick add brief form
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Sep 4 13:00:04 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19249
Bug ID: 19249
Summary: date picker broken in quick add brief form
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Patrons
Assignee: koha-bugs at lists.koha-community.org
Reporter: fridolin.somers at biblibre.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
If a date input like date of birth is mandatory, in quick add brief form the
calendar icon appears but clicking on it does nothing.
This is because quick add brief form creates a clone of inputs in the original
form.
An input with date picker is changed and linked to Javascript code (see
calendar.inc) so it can not be cloned.
Note also that creating a clone of an input in another form does not update the
form value in its DOM. It can generate errors.
In my opinion this feature should be reconsidered to hide unwanted fields
instead of cloning wanted ones. Many bugs may be avoided.
--
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