(
label: string,
formName: string,
{required = false, files = "one", clear = false} = {},
)
| 2084 | tfaCheck = true, |
| 2085 | } = {}, |
| 2086 | ) { |
| 2087 | this.traditionalSubmit = traditionalSubmit; |
| 2088 | this.name = name; |
| 2089 | this.tfaCheck = tfaCheck; |
| 2090 | this.method = method; |
| 2091 | this.submitText = submitText; |
| 2092 | this.options = new Options(name, this, {ltr, vsmaller}); |
| 2093 | this.owner = owner; |
| 2094 | this.fetchURL = fetchURL; |
| 2095 | this.headers = headers; |
| 2096 | this.ltr = ltr; |
| 2097 | this.onSubmit = onSubmit; |
| 2098 | } |
| 2099 | setValue(key: string, value: any) { |
| 2100 | //the value can't really be anything, but I don't care enough to fix this |
| 2101 | this.values[key] = value; |
| 2102 | } |
no test coverage detected