forked from MapComplete/MapComplete
Chore: remove deprecated method
This commit is contained in:
parent
1ade2ed45b
commit
96265a55c8
1 changed files with 2 additions and 2 deletions
|
|
@ -39,10 +39,10 @@ export abstract class Validator {
|
||||||
this.inputmode = inputmode
|
this.inputmode = inputmode
|
||||||
this.textArea = textArea ?? false
|
this.textArea = textArea ?? false
|
||||||
if (this.name.endsWith("textfield")) {
|
if (this.name.endsWith("textfield")) {
|
||||||
this.name = this.name.substr(0, this.name.length - "TextField".length)
|
this.name = this.name.substring(0, this.name.length - "TextField".length)
|
||||||
}
|
}
|
||||||
if (this.name.endsWith("textfielddef")) {
|
if (this.name.endsWith("textfielddef")) {
|
||||||
this.name = this.name.substr(0, this.name.length - "TextFieldDef".length)
|
this.name = this.name.substring(0, this.name.length - "TextFieldDef".length)
|
||||||
}
|
}
|
||||||
if (typeof explanation === "string") {
|
if (typeof explanation === "string") {
|
||||||
this.explanation = explanation
|
this.explanation = explanation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue