symfony/symfony — pull request #2934 by Burgov (2011-12-21 11:04:40+00:00)
Title: added a setReadOnly method

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -

Being able to set read-only directly in the form is useful when you want to set it from a (pre-/post-)setData listener