Possibility to add an anonymous function to the disabled option.
Merge branch 'develop'