Custom positioning ui fields
See original GitHub issueIs there a possibility to arrange position of the ui fields in schema?
Prerequisites
- I have read the documentation;
- In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
- Ideally, I’m providing a sample JSFiddle or a shared playground link demonstrating the issue.
Description
[Description of the bug or feature]
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on…]
Expected behavior
[What you expected to happen]
Actual behavior
[What actually happened]
Version
You can usually get this information in your package.json
or in the file URL if you’re using the unpkg one.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Text fields & Forms design — UI components series
Usually, you will have three main options for label positioning: top, left, and right-aligned. The best style for you will depend on key...
Read more >Positioning form fields with custom CSS
1: I am having trouble getting the form fields to go on the same line - PHONE and EMAIL ( in this order/side...
Read more >Positioning elements
Use both Relative and Absolute ... The example above highlights the use of Absolute position. Set all Position > Left, Top, Right, Bottom...
Read more >UI Positioning
width and height : The size of the entity. To set these fields in pixels, write the value as a number. To set...
Read more >Positioning - Learn web development | MDN
Positioning is your tool. Or what if you want to create a UI element that floats over the top of other parts of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Probably you could try to use this nice “plugin” :
https://github.com/audibene-labs/react-jsonschema-form-layout
Hello,
I was wondering too, if it is possible to rearrange the positions of fields. I have looked at some tickets #1318, #1551, #762 and #1010. Also I read the documentation a couple of times, but in neither of them I found an easily understandable way a non-javascript developer (like I am) could achieve this. I understand from the read discussions, that there is no standard for the uiSchema.
What really bugs me with rjsf is, that the schema which I would understand more as a data layout, actually defines the layout or at least I did not find another way to group fields without grouping the underling data, which also is annoying since the data might be flat, but in order to prefill the form I need to transform it and also after change transform it again to match my endpoint.
Before I had a look at JSONForms which seems to be very similar to this library. They provide a very simple way to do Layouts in their library see: https://jsonforms.io/docs/uischema/layouts
@Maikel-Nait the “plugin” seems to be very dated ~3 years old. Also it seems to only (?) support bootstrap, correct?
If there is a way, that I could design my own layout, and then pass it to the library it would be awesome to have a few examples and more documentation on it.