I'm using Fields in Create/Edit form for read-only properties.
What you were expecting:
<NumberField/> and <BooleanField/> are expected to be left-aligned in Create/Edit form. DataGrid seems more appropriate to decide whether to align right or center based on the type of the child Field.
What happened instead:
<NumberField/> is right-aligned and <BooleanField/> is center-aligned in a Create/Edit form.

Environment
indeed! this causes alignment issues to the field components created by component factory in edit mode since it reuses those that are found in the list mode: https://github.com/zifnab87/ra-component-factory
I'm aware if this, and this is not something we're going to fi in 1.0, as you can set the style using the style and elStyle props, as in the example.
I'll keep it for 2.0, because since we break BC, we can imagine default styles for grid and vertical layout.
awesome @fzaninotto thanks! when is a rough estimate of version 2 release?
When it's done
Just for info, this had been answered in past as well (was for Fields and not Input but it is the same explanation more or less) : #570
This is fixed in next (see #1268). It won't be fixed in master, because it requires a backwards compatibility break. So I'm closing this issue.
Most helpful comment
I'm aware if this, and this is not something we're going to fi in 1.0, as you can set the style using the
styleandelStyleprops, as in the example.I'll keep it for 2.0, because since we break BC, we can imagine default styles for grid and vertical layout.