1const VuelidateMixin = {
2  methods: {
3    getValidationState(model) {
4      const { $dirty, $error } = model;
5      return $dirty ? !$error : null;
6    }
7  }
8};
9
10export default VuelidateMixin;
11