npotier / EasyAdminBundle

MIT License
0 stars 2 forks source link

Datetime year field has range between (current year - 5) and (current year + 5)? #3

Open Gwynei opened 7 years ago

Gwynei commented 7 years ago

How can I customize this behaviour?

In the file vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/Type/DateType.php

I can change the 'years' value at setDefaults, but I guess that's not the prettiest way to achieve it. :)

npotier commented 7 years ago

Hi, This repo is not maintained, I invite you to check the official repo https://github.com/javiereguiluz/EasyAdminBundle