terrier-engine 4.58.3 → 4.58.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/terrier/forms.ts +1 -1
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "files": [
5
5
  "*"
6
6
  ],
7
- "version": "4.58.3",
7
+ "version": "4.58.4",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Terrier-Tech/terrier-engine"
package/terrier/forms.ts CHANGED
@@ -248,7 +248,7 @@ class CompoundFieldBuilder<T extends Record<string, unknown>, K extends keyof T
248
248
  }
249
249
 
250
250
  label(text: string, ...classes: string[]): this {
251
- this.field.label({ text, htmlFor: this.formFields.inputName(this.key), classes })
251
+ this.formFields.labelFor(this.field, this.key, text, ...classes)
252
252
  return this
253
253
  }
254
254