I have a component with "margin-left": "10rem" . It is showing the margin correctly in the Form builder preview. When I render the same form using formio/react, it is not applying the margin. In browser console it shows
element.style {
}
In the network tab I can see
"style": {
"margin-left": "10rem"
}
Am I missing something ?
I am using "@formio/react": "^5.3.0" and in the index I have added
I have a component with
"margin-left": "10rem"
. It is showing the margin correctly in the Form builder preview. When I render the same form usingformio/react
, it is not applying the margin. In browser console it showsIn the network tab I can see
Am I missing something ?
I am using
"@formio/react": "^5.3.0"
and in the index I have added