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

Invalid return type of Kirby\Form\Field::save() #20

Open
qroac opened this issue Dec 17, 2018 · 1 comment
Open

Invalid return type of Kirby\Form\Field::save() #20

qroac opened this issue Dec 17, 2018 · 1 comment

Comments

@qroac
Copy link

qroac commented Dec 17, 2018

  • Occurred in latest composer installation (beta 6)
  • Code cloned to site/plugins/kirby-v3-builder
  • in site/plugins/kirby-v3-builder executed npm i && npm run build

After using the sandbox snippet in a plain default.yml blueprint (see below), I get this error message in the panel:
image

blueprints/default.yml

title: Default
#preset: page

fields:
  mybuilder:
    label: Page Builder
    type: builder
    columns: 1
    fieldsets:
      bodytext:
        label: Text Block (without preview but with tabs)
        tabs:
          content:
            label: Content
            icon: edit
            fields:
              text:
                label: text
                type: textarea
          style:
            label: Style
            icon: cog
            fields:
              fontfamily:
                label: Font
                type: select
                options:
                  helvetica: Helvetica
                  comicsans: Comic Sans
              fontsize:
                label: Font Size
                type: number
      quote:
        label: Quote
        preview:
          snippet: blocks/quote
          css: /assets/css/blocks/quote.css
        fields:
          text:
            label: Quote Text
            type: textarea
          citation:
            label: Citation
            type: text
      events:
        label: Events
        preview:
          snippet: blocks/events
          css: /assets/css/blocks/events.css
        fields:
          eventlist:
            type: builder
            label: Event List
            columns: 2
            fieldsets:
              event:
                label: Event
                fields:
                  title:
                    label: Title
                    type: text
                  text:
                    label: Description
                    type: textarea
                  date:
                    label: Date
                    type: date
@TimOetting
Copy link
Owner

Hey @Theweird. The repository has been moved to https://github.com/TimOetting/kirby-builder/ . Can you check if your problem still occurs with the latest version? Thanks for your contribution.

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

2 participants