feat: mailing to filtered teamer list

addresses #869dv9bur
This commit is contained in:
Björn Fromme
2026-08-11 16:25:53 +02:00
parent 48cd2d6b67
commit 6511f821ac
18 changed files with 1223 additions and 7 deletions
@@ -1,13 +1,18 @@
import { Controller } from '@hotwired/stimulus'
export default class extends Controller {
// the default of one row keeps every existing textarea exactly as it was, fields that
// are written into at length can ask for a taller floor to grow from
static values = { minRows: { type: Number, default: 1 } }
connect() {
this.element.rows = 1
this.element.rows = this.minRowsValue
this.minHeight = this.element.scrollHeight
this.resize()
}
resize() {
this.element.style.height = 'auto'
this.element.style.height = `${this.element.scrollHeight}px`
this.element.style.height = `${Math.max(this.element.scrollHeight, this.minHeight)}px`
}
}