Skip to content
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

Field type "page" does not work anymore #241

Open
Timo-Breumelhof opened this issue Jul 5, 2024 · 0 comments
Open

Field type "page" does not work anymore #241

Timo-Breumelhof opened this issue Jul 5, 2024 · 0 comments
Labels

Comments

@Timo-Breumelhof
Copy link
Collaborator

Timo-Breumelhof commented Jul 5, 2024

The field type "page" causes an error:

{"message":"Unable to find field class for type: page","reason":"FIELD_INSTANTIATION_ERROR"} alpaca.min.js:5:7172...}

Classic Builder, OC 05.01.01

schema:

{
    "type": "object",
    "properties": {
        "ModuleTitle": {
            "title": "Top Title",
            "type": "string"
        },       
		"ParentPage": {
            "title": "Parent Page",
            "type": "string"
        },
		"ShowTitle": {
            "title": "Show Title?",
            "type": "boolean"
        },
		"Icon": {
			"title": "FontAwsome Icon Code",
			"type": "string"
		}
    }
}

Options:

{
    "fields": {
		"ModuleTitle": {
            "type":"text",
			"helper": "Overrules Showing the current Page Name"
        },		
		"ParentPage": {
            "type":"page",
			"helper": "The Parent Page of the Menu"
        },
		"Icon": {
      "type": "icon",
      "glyphicons" : false,
      "fontawesome" : true
		}
	}
}

@Timo-Breumelhof Timo-Breumelhof changed the title Filed type "page" does not work anymore Field type "page" does not work anymore Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant