octobercms/october — pull request #580 by Flynsarmy (2014-08-22 05:25:20+00:00)
Title: Replace [ and ] characters in aliases with underscores for nested fields

With a YAML field of `defaultOptions[images]`, `$this->getEventHandler('onRemoveAttachment')` returns *formDefaultOptions[images]::onRemoveAttachment*. This PR fixes the field alias so it uses underscores instead of [ and ].