_KASH_ could you please attach a screenshot of your field with this widget? I changed the widget from chosen to Autocomplete (Tag style) and it's working as expected here.
This issue happens when the Drupal field wrapper has a select and an input field. That's the typical scenario when using the "chosen" library, 'cos it will have the select default field plus the "chosen" html inputs. The DomClient._getInputType is getting lost 'cos it will find first a select and after an input, which will make the function return 'undefined' causing the error mentioned above. I created a 'else if' condition to avoid this issue.
Hi _randy!
Yes, your approach also solves the problem.
Thanks!
brunoalmeida → created an issue.
I have tested the last changes and I can confirm it's working.
I'm also adding a patch for the 10.1.6 core version.
I can confirm that the patch works as expected.
brunoalmeida → created an issue.
brunoalmeida → created an issue.
brunoalmeida → created an issue.
I have reviewed and tested MR!9 and it fixes the issue during the module installation.
brunoalmeida → created an issue.
brunoalmeida → created an issue.
brunoalmeida → created an issue.
brunoalmeida → created an issue.
Thank you samit.310@gmail.com and Charchil Khandelwal, I will review the MR.