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

Inline props not working #343

Open
BossHogg97 opened this issue Jan 10, 2024 · 0 comments
Open

Inline props not working #343

BossHogg97 opened this issue Jan 10, 2024 · 0 comments

Comments

@BossHogg97
Copy link

BossHogg97 commented Jan 10, 2024

Hi, i'm working with vue3 and Naive UI. I'm not able to find a way to display the form inline.

I've already setted the form props object:

const formSetting = {
  props: {
    inline: true,
    labelPosition: 'left',
    isMiniDes: true
  },
  ...
}

The above object is passed as prop to vue json schema form

<script setup lang="ts">
import magicFormSettings from '~/src/settings/magicForm'

const formProps = magicFormSettings.props

</script>
<template>
....
<VueForm
        v-model="modelFilter"
        :form-props="formProps"
        :form-footer="formFooter"
        :schema="schema"
        :ui-schema="schemaUI"
        @form-mounted="doFilterFormMounted"
        @change="doDataChange"
      />
....
</template>

Any help? Thanks

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

1 participant