Fixed erronous clearing of value-fields in tagmappings, (hopefully) fixes #131
This commit is contained in:
parent
6509358f84
commit
c53ccb7bae
6 changed files with 20 additions and 7 deletions
|
@ -271,7 +271,7 @@ export default class ValidatedTextField {
|
|||
country?: string
|
||||
}): InputElement<T> {
|
||||
let textField: InputElement<string>;
|
||||
if (options.type) {
|
||||
if (options?.type) {
|
||||
textField = ValidatedTextField.InputForType(options.type, options);
|
||||
} else {
|
||||
textField = new TextField(options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue