Trying to ge the signature field working and getting ReferenceError: Can't find variable: SignaturePad in my console. I have the import map set correctly, the import "john_hancock" in my application.js, and Rails.application.config.assets.precompile += %w[john_hancock.js] in my initializers/assets.rb.
I'm Running rails 8 rc1
Trying to ge the signature field working and getting
ReferenceError: Can't find variable: SignaturePadin my console. I have the import map set correctly, theimport "john_hancock"in my application.js, andRails.application.config.assets.precompile += %w[john_hancock.js]in my initializers/assets.rb.I'm Running rails 8 rc1