Skip to content

Unknown custom element: <field-googleAddress> #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jamesdixon opened this issue Jun 2, 2017 · 2 comments
Closed

Unknown custom element: <field-googleAddress> #222

jamesdixon opened this issue Jun 2, 2017 · 2 comments

Comments

@jamesdixon
Copy link

Hi, I'm running beta 8 and getting the following error when attempting to use the googleAddress field type:

[Vue warn]: Unknown custom element: <field-googleAddress> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <VueFormGenerator>
       <App> at /Users/jamesdixon/Projects/scout/platform/prototypes/embeddable-form-widget/src/App.vue
         <Root>

I'm using the following schema directly from the example:

{
			type: "googleAddress",
			label: "Location (googleAddress)",
			model: "location",
			placeholder: "Location",
			onPlaceChanged(value, place, rawPlace, model, schema) {
				console.log("Location changed! " + value);
			}
		}

Thank you!

@icebob
Copy link
Member

icebob commented Jun 3, 2017

Are you using full bundle? (vfg.js) Please create a jsfiddle with your issue.

@jamesdixon
Copy link
Author

@icebob that was the issue; I was using core. Sorry and thank yoU!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants