ngFormBuilder icon indicating copy to clipboard operation
ngFormBuilder copied to clipboard

need help

Open desmondCreed opened this issue 7 years ago • 3 comments

I am trying to get a field label to appear on the same line as the fields.

image

But how to do using form builder

image

desmondCreed avatar Feb 27 '17 10:02 desmondCreed

@travist Any comment on this one? I tried lots of custom css it's working but how to do using form builder

prashant93 avatar Mar 02 '17 11:03 prashant93

@desmondCreed @prashant93

You can overwrite the component.html template, add the form-inline class to the parent div. That will give you the base bootstrap styles for inline forms. All you have to do then is overwrite some form.io CSS:

.input-group {
  width: auto;
  display: inline-table;
}

andreiho avatar Mar 03 '17 08:03 andreiho

thanks, for your help. But datetime field is not working as inline.

prashant93 avatar Mar 03 '17 10:03 prashant93