Merge pull request #285 from hlim/2.4.x

CRAFTERCMS-894: added added pattern to input control