(input = this.value)
| 172 | } |
| 173 | |
| 174 | async format(input = this.value) { |
| 175 | let initial = await this.resolve(this.initial, this.state); |
| 176 | if (!this.state.submitted) { |
| 177 | return placeholder(this, { input, initial, pos: this.cursor }); |
| 178 | } |
| 179 | return this.styles.submitted(input || initial); |
| 180 | } |
| 181 | |
| 182 | async render() { |
| 183 | let size = this.state.size; |
no test coverage detected