We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE3 B4: JS error when using <button>s in _shared/form

Developer Preview

Low's avatar
Low
407 posts
10 years ago
Low's avatar Low

Looking at the _shared/form view, it should be possible to pass through an array of <button> elements. However, when I do, I get the following JS error that is triggered by the form validation:

Uncaught ReferenceError: $button is not defined

EE.cp.formValidation._toggleErrorForFields @ admin.php?S=0&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog,button&p…:2084
EE.cp.formValidation._sendAjaxRequest @ admin.php?S=0&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog,button&p…:2057
(anonymous function) @ admin.php?S=0&D=cp&C=javascript&M=combo_load&ui=core,widget,mouse,position,sortable,dialog,button&p…:1993
Z.event.dispatch @ jquery.js?v=1443175002:3
Z.event.add.m.handle @ jquery.js?v=1443175002:3
       
Kevin Cupp's avatar
Kevin Cupp
791 posts
10 years ago
Kevin Cupp's avatar Kevin Cupp

Sorry, Low, this should be fixed in the next build!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.