You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really great plugin 👍 but it's a shame that it seems no more maintained.
In example given, value attribute was only 1 word while in my code there are more.
So my code was like these ( I'm using bootstrap v.4.60 | jquery 3 | jquery.chained v2.0.0-beta.3 ):
parent: <option value="Spesialis Penyakit Dalam">Spesialis Penyakit Dalam</option>
child: <option value="dr. Maizena Tepung Kanji, SpPD-KGH ( Spesialis Penyakit Dalam )" data-chained="Spesialis Penyakit Dalam">
I spent 2 hours reading docs, browsing, then doing some console.log()s
to figure it out that I only need to edit line 80 in jquery.chained.js :
from matches = data.split(" ");
to matches = data;
That's all.
I don't know what impacts it will bring to other codes, but it worked like a charm for me without any issue.
I hope it will help someone out there 👍
The text was updated successfully, but these errors were encountered:
This is a really great plugin 👍 but it's a shame that it seems no more maintained.
In example given, value attribute was only 1 word while in my code there are more.
So my code was like these ( I'm using bootstrap v.4.60 | jquery 3 | jquery.chained v2.0.0-beta.3 ):
parent:
<option value="Spesialis Penyakit Dalam">Spesialis Penyakit Dalam</option>
child:
<option value="dr. Maizena Tepung Kanji, SpPD-KGH ( Spesialis Penyakit Dalam )" data-chained="Spesialis Penyakit Dalam">
I spent 2 hours reading docs, browsing, then doing some
console.log()
sto figure it out that I only need to edit line 80 in jquery.chained.js :
from
matches = data.split(" ");
to
matches = data;
That's all.
I don't know what impacts it will bring to other codes, but it worked like a charm for me without any issue.
I hope it will help someone out there 👍
The text was updated successfully, but these errors were encountered: