In the housebound module when filling out the housebound details there are some fields that could potentially contain a lot of information. There fields are Preferred materials, Subjects, Authors, Referrals, and notes. Librarians may wish to enter many subjects/authors/notes/etc and perhaps add line breaks to separate subjects/authors/notes/etc. We should replace the input's with textarea and when viewing those housebound details we should preserve those lines breaks.
Created attachment 123445 [details] [review] Bug 28810: replace housebould detail inputs with textarea To test: 1. apply patch 2. enable housebound module 3. go to a patron and look at the housebound tab 4. Edit the detials. 5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas. 6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like: Fiction authors: Frank Herbert Non-fiction authors: Malcolm Gladwell 7. Save changes 8. Now when you look at the housebound details those line breaks should be preserved and much easier to read.
Created attachment 123455 [details] [review] Bug 28810: replace housebould detail inputs with textarea To test: 1. apply patch 2. enable housebound module 3. go to a patron and look at the housebound tab 4. Edit the detials. 5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas. 6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like: Fiction authors: Frank Herbert Non-fiction authors: Malcolm Gladwell 7. Save changes 8. Now when you look at the housebound details those line breaks should be preserved and much easier to read. Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
I like that it preserves the line breaks.
Created attachment 124221 [details] [review] Bug 28810: replace housebould detail inputs with textarea To test: 1. apply patch 2. enable housebound module 3. go to a patron and look at the housebound tab 4. Edit the detials. 5. The preferred materials, subjects, authors, referral, and note inputs should be replace with much larger textareas. 6. You should now be able to added line breaks, so fill out each of the fields adding some line breaks. I added something like: Fiction authors: Frank Herbert Non-fiction authors: Malcolm Gladwell 7. Save changes 8. Now when you look at the housebound details those line breaks should be preserved and much easier to read. Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 21.11, thanks to everybody involved!