0

I was wondering, since an update of Symfony2.1 (I can't target the commit though) why I no longer have the "formatter" attribute on my jQueryDateType

if ($form->getConfig()->hasAttribute('formatter'))

returns false

The whole class is here : https://gist.github.com/d3c74c12d60e20df84c3

j0k
  • 22,600
  • 28
  • 79
  • 90
sf_tristanb
  • 8,725
  • 17
  • 74
  • 118

1 Answers1

0

the getParent() function was missing and solved half of the problem.

sf_tristanb
  • 8,725
  • 17
  • 74
  • 118