codefog / contao-haste

Haste is a collection of tools and classes to ease working with Contao
http://codefog.pl/extension/haste.html
MIT License
43 stars 24 forks source link

Check correct default field #149

Closed theDyingMountain closed 3 years ago

theDyingMountain commented 3 years ago

Fix issue #148

qzminski commented 3 years ago

According to the regular DCA field definition, the default value should be on the top level of the field definition and not inside the eval. Can you show me the code you use?

theDyingMountain commented 3 years ago

Okay sorry you right. I thought the default value is inside eval. I works for me, cause my sql has the same default value. So this Pull Request can be closed.