Skip to content

BlitzListForm breaking with quasar? #135

Open

Description

@duurland

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

Activity

  1. mesqueeb commented on Jun 22, 2022

    @mesqueeb
    Member

    Did you import the Blitzar css ?

  2. duurland commented on Jun 23, 2022

    @duurland
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions