Adds a new filter for the form field, and fixes the broken functionality from the form custom directive