Symfony sfWidgetFormSelect with disabled options
Napisane przez wowo | Kategorie: Symfony, php, webdev
The sfWidgetFormSelect doesn’t provide ability to render disabled options. It’s rarely used feature of a HTML select element, but sometimes it could save your life :-) In fact, we can achieve this feature by creating our own widget, like one listed below, which inherits from sfWidgetFormSelect. This solution is inspired by problem posted on Symfony Experts. Czytaj resztę wpisu »
Tagi: php, sfWidgetFormSelect, Symfony, widget



