Closed (fixed)
Project:
Simple hierarchical select
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2022 at 22:01 UTC
Updated:
25 Feb 2025 at 22:24 UTC
Jump to comment: Most recent
Comments
Comment #2
tascI just found this issue as well.
On WidgetView.js in line 125 I changed:
widget.$el.append => widget.$el.prepend
plain diff Patch #4
Comment #4
System Lord commentedPerfect! It works! Thank you for the diff as well!
Note: I had to clear cache a couples time and close and reopen my browser to get it all cleared out.
Comment #5
System Lord commentedComment #6
iancawthorne commentedI spotted the same problem and this patch fixes it for me.
Comment #7
hmendes commentedChanging to the dev branch and changing the status to RTBC as I can also confirm that this solved the problem.
Comment #8
khaldoon_masud commented+1
Comment #9
saganakat commentedThanks! This patch fixes it for me.
Comment #10
dydave commentedHi everyone,
Thank you very much for raising this issue and providing a patch, it's greatly appreciated.
I would like to confirm as well, testing successfully the patch with the following versions:
The patch applied cleanly with composer and appears to have fixed the issue, with the label "- Select a value -" back at the top of the select list.
It would be great if a maintainer of the project could take a quick look at the patch and let us know if there would be any more work needed.
In any case, thanks again very much to everyone for your help with this issue.
Comment #11
rossb89 commentedYup this patch works great, lets get it merged.
Comment #12
anish.a commentedThis can be merged. Tested and working fine
Comment #13
socialnicheguru commenteddoes not apply to shs 3@beta3
It was RTBC but just needs a reroll
Comment #14
socialnicheguru commentedComment #15
joseph.olstadKeep 2x and 3x seperate
make a new MR for 3x
Comment #17
joseph.olstad3.0.x is NOT affected, already has the fix.
Comment #18
joseph.olstadhttps://www.drupal.org/project/shs/releases/2.0.2
Comment #19
dydave commentedThanks a lot Joseph (@joseph.olstad) for getting this in and creating and new release!
Cheers!