input-directive default value implementation