fixes #3095 added css selector for directive input fields