How do I completely remove the label or the label's spacing in angular-formly form? -
using angular-formly, i'm trying build form, if label removed in fields json, there no padding or spacing given label in rendered html.
here example of actual form , 'desired' form: js bin
the best solution require pull request template library's label wrapper template use ng-if
hide label if 1 not provided.
if don't want deal that, can choose 1 of these options:
- set
wrapper
null
field. lose other wrappers (like 1 addshas-error
) - create own type allows specify own wrappers.
both of these demonstrated here:
Comments
Post a Comment