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

BlitzListForm breaking with quasar? #135

Open
duurland opened this issue Jun 22, 2022 · 2 comments
Open

BlitzListForm breaking with quasar? #135

duurland opened this issue Jun 22, 2022 · 2 comments

Comments

@duurland
Copy link

duurland commented Jun 22, 2022

First off, this is an awesome library, thank you for maintaining it :)

I'm trying to get Quasar to work with this example (BlitzListForm nested in a BlitzForm)

Taken the following schema, teacher.* renders just fine but students[] break, the labels seems to be lost and rendered as separate components. Something I'm missing? Does BlitzListForm support internalLabels?

[
    {
      id: "teacher.nameFirst",
      label: "Teacher First Name",
      component: "QInput",
    },
    {
      id: "teacher.nameLast",
      label: "Teacher Last Name",
      component: "QInput",
    },
    {
      id: "students",
      label: "Student Names",
      component: "BlitzListForm",
      schema: [
        { id: "nameFirst", label: "First Name", component: "QInput"},
        { id: "nameLast", label: "Last Name", component: "QInput" },
      ],
    },
  ]

blitslist

@mesqueeb
Copy link
Member

Did you import the Blitzar css ?

@duurland
Copy link
Author

duurland commented Jun 23, 2022

Yes, see this demo.
https://stackblitz.com/edit/quasarframework-ckyejb?file=src%2Fpages%2FIndexPage.vue

To clarify, the problem is not the css. But that the components in BlitzListForm does not receive the props for the label/hint, which is not consistent with how the components are rendered with BlitzForm.

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