Skip to content

Commit

Permalink
feat: remove deprecated isTarget option
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Jan 24, 2020
1 parent d2fc706 commit 0a7dd9c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/rules/src/confirmed.ts
Expand Up @@ -2,12 +2,7 @@ import { RuleParamSchema } from '@vee-validate/shared';

const validate = (value: any, { target }: Record<string, any>) => String(value) === String(target);

const params: RuleParamSchema[] = [
{
name: 'target',
isTarget: true
}
];
const params: RuleParamSchema[] = ['target'];

export { validate, params };

Expand Down

0 comments on commit 0a7dd9c

Please sign in to comment.