It would be great to be able to set placeholder text in the search box per field. I have made a patch that adds a section on the settings form for placeholder text that will show on every field. I will attach it in the next comment so I can get the issue number for the filename.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Edit Article asdas | d8 2019-05-20 11-53-32.png | 94.62 KB | dmitrii |
| #11 | Improved Multi Select | d8 2019-05-20 11-54-08.png | 159.5 KB | dmitrii |
| #9 | interdiff-03-08.txt | 762 bytes | zeuty |
| #9 | improved_multi_select-placeholder_text-3055587-08.patch | 3.3 KB | zeuty |
| #6 | improved_multi_select-placeholder_text-3055587-03.patch | 2.76 KB | zeuty |
Comments
Comment #2
genellann commentedComment #3
dmitrii commentedThank you for the patch. I like the idea.
Patch needs to be rerolled against 8.x-1.x
Comment #4
dmitrii commentedComment #5
tatarbjI'm going to reroll and if needed adjust the solution today at Contribution Day of DrupalCamp Belarus!
Comment #6
zeutyRerolled against 8.x-1.x
Comment #7
tatarbjComment #9
zeutyAdjusted the .schema file to include the new field.
Comment #10
zeutyComment #11
dmitrii commentedThe patch tested locally (Acquia dev desktop, drupal-8-7-0-beta1, Chrome Version 74.0.3729.157 (Official Build) (64-bit))


Looks good, no FE or BE errors found.
Edit node form:
The module setting form:
Comment #13
dmitrii commentedCommitted into 8.x-1.x
Thank you all!
https://git.drupalcode.org/project/improved_multi_select/commit/d90cb722...
Comment #16
drup16 commentedI did not find this issue before so I created one similar to this (Descriptive placeholder for Search is missing). It took a slightly different approach but since this issue has already been merged, I am going to close mine as a duplicate and linked the two in case anyone comes across my issue.