<template>
  <div>
    <slot></slot>
  </div>
</template>

<script>
  import validatorGroupBase from '../../tools/validator-group-base.vue';

  export default {
    extends: validatorGroupBase,
    name: 'validator-group',
    docs: `Verzamelt errors van <code>validator</code> elementen.`,
    created() {
      this.eventBus.$on('needs-validator-group', cb => {
        cb(this);
      });
    },
  }
</script>
