bootstrap-ui icon indicating copy to clipboard operation
bootstrap-ui copied to clipboard

protected _formAlignment to be public formAlignement

Open LubosRemplik opened this issue 7 years ago • 1 comments

This is a

  • [x] enhancement

I think it would be good idea to make _formAlignment public method so it is possible to change alignement with element for example.

What you did

Loading element via ajax with form fields but with no create / end form method.

Expected Behavior

Alignement to be kept from template create (but it is not possible since we are loading just element via ajax request)

Actual Behavior

Form with no alignement

LubosRemplik avatar Jul 19 '18 14:07 LubosRemplik

Loading element via ajax with form fields but with no create / end form method.

How will the FormHelper get entity context if you don't use create()?

You can still use create()/end() for ajax calls just don't echo the method's result :slightly_smiling_face:.

ADmad avatar Nov 09 '18 14:11 ADmad