| 9 | @formField |
| 10 | @observer |
| 11 | export class TestField extends HTMLElement implements WebField { |
| 12 | render() { |
| 13 | const { name } = this; |
| 14 | |
| 15 | return ( |
| 16 | <input |
| 17 | name={name} |
| 18 | onChange={({ currentTarget }) => |
| 19 | (this.value = (currentTarget as HTMLInputElement).value) |
| 20 | } |
| 21 | /> |
| 22 | ); |
| 23 | } |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected