forked from MapComplete/MapComplete
First version of giving feedback to contriubtors on invalid values
This commit is contained in:
parent
e07b770e8c
commit
5221e91dcd
16 changed files with 586 additions and 436 deletions
|
|
@ -254,7 +254,7 @@ class AutomatonGui {
|
|||
|
||||
LocalStorageSource.Get("automation-theme-id", "missing_streets").syncWith(themeSelect.GetValue())
|
||||
|
||||
const tilepath = ValidatedTextField.InputForType("url", {
|
||||
const tilepath = ValidatedTextField.ForType("url").ConstructInputElement({
|
||||
placeholder: "Specifiy the path of the overview",
|
||||
inputStyle: "width: 100%"
|
||||
})
|
||||
|
|
@ -305,7 +305,7 @@ class AutomatonGui {
|
|||
return Array.from(rezoomed)
|
||||
})
|
||||
|
||||
const extraComment = ValidatedTextField.InputForType("text")
|
||||
const extraComment = ValidatedTextField.ForType("text").ConstructInputElement()
|
||||
LocalStorageSource.Get("automaton-extra-comment").syncWith(extraComment.GetValue())
|
||||
|
||||
return new Combine([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue