Skip to content

Query regarding usage #997

Answered by rvsia
thecodejack asked this question in Need help
Mar 17, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hello, thank you for your kind words!

If you are using Material UI mapper, you can actually simply place 2 or more fields in the same row.

Each MUI component is wrapped in Grid component and you pass props simply by setting: FormFieldGridProps: { xs: 6 } etc. You can check a previous issue with example: #871

Box component should be simple to implement if you need it:

const FormBox = ({ fields, ...props }) => {
   const { renderForm } = useFormApi();

  return <Box {...props}>{renderForm(fields)}</Box>
}

You can check documentation for more details.

(Also moving this to discussions)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@thecodejack
Comment options

@Hyperkid123
Comment options

@Hyperkid123
Comment options

Answer selected by thecodejack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #992 on March 17, 2021 19:48.