0

I feel like I'm having a brain freeze, but I can't get an object tag browser plugin to work with Meteor. Meteor throws an error in the Firefox console "id must be a string". And when viewing the ui.js code it looks like meteor code is trying to append to the DOM but cannot. This looks simple as the tag is a basic component of browser plug-ins/extensions. Am I missing something?

<object id="testPdf" data="lorem.pdf" type="application/pdf"></object>

Error: id must be a string       ui.js:856

You should extend SampleField from FormComponent if you want a custom form component that can use AjaxFormComponentUpdatingBehavior. But I'm not sure you really need a custom form component and not just a TextField("size").

4

0 回答 0