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
|
@ -27,7 +27,7 @@ export default class NewNoteUi extends Toggle {
|
|||
const t = Translations.t.notes;
|
||||
const isCreated = new UIEventSource(false);
|
||||
state.LastClickLocation.addCallbackAndRun(_ => isCreated.setData(false)) // Reset 'isCreated' on every click
|
||||
const text = ValidatedTextField.InputForType("text", {
|
||||
const text = ValidatedTextField.ForType("text").ConstructInputElement({
|
||||
value: LocalStorageSource.Get("note-text")
|
||||
})
|
||||
text.SetClass("border rounded-sm border-grey-500")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue