diff --git a/app/src/directives/validators.ts b/app/src/directives/validators.ts index a3583222..8ce35d41 100644 --- a/app/src/directives/validators.ts +++ b/app/src/directives/validators.ts @@ -55,6 +55,7 @@ Vue.component('input-with-validity', { value: 'on_value_set', min(v) { this._attrUpdated('min', v) }, max(v) { this._attrUpdated('max', v) }, + pattern(v) { this._attrUpdated('pattern', v) }, sameAs(v) { this._attrUpdated('pattern', Helpers.escapeRegexp(v)) }, }, methods: {