Problem/Motivation
When adding microcontent using entity browser, Uncaught TypeError: $(...).once is not a function errors are thrown.
Steps to reproduce
Create some microcontent entities
Create an entity browser for selecting microcontent
Create a Reference field which can select Microcontent entities on a bundle for an entity type
Configure form display for the bundle to use the microcontent entity browser
Create content and try to select microcontent using entity browser
Proposed resolution
Add core/once and core/jquery.once.bc to dependencies.
Remaining tasks
Patch or merge request to follow.
User interface changes
None
API changes
None
Data model changes
None
Issue fork microcontent-3381107
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
keshavv commentedConfirmed that there is an issue and given MR works well.
Comment #4
larowlanLeft a comment on the MR
Comment #5
hitfactory commentedCan you provide a link to the comment on the MR as I can't seem to find it?
Comment #6
larowlanAh that's my fault I didn't finish the review, have done now
Comment #8
sourabhjainComment #10
larowlanThanks
Comment #11
larowlanTagging 1.7