forked from MapComplete/MapComplete
Use 'area' to create a new note; open note popup when created
This commit is contained in:
parent
1c1df43bf9
commit
b4ecd963fc
4 changed files with 10 additions and 19 deletions
|
@ -61,17 +61,6 @@ export class TextField extends InputElement<string> {
|
|||
return this._isValid(t)
|
||||
}
|
||||
|
||||
private static test() {
|
||||
const placeholder = new UIEventSource<string>("placeholder")
|
||||
const tf = new TextField({
|
||||
placeholder,
|
||||
})
|
||||
const html = <HTMLInputElement>tf.InnerConstructElement().children[0]
|
||||
html.placeholder // => 'placeholder'
|
||||
placeholder.setData("another piece of text")
|
||||
html.placeholder // => "another piece of text"
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* // should update placeholders dynamically
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue