(input, value)
| 331 | } |
| 332 | |
| 333 | function setReactValue(input, value) { |
| 334 | input.focus(); |
| 335 | input.value = value; |
| 336 | const event = new Event('input', {bubbles: true}); |
| 337 | const tracker = input._valueTracker; |
| 338 | if (tracker) { |
| 339 | tracker.setValue(''); |
| 340 | } |
| 341 | input.dispatchEvent(event); |
| 342 | } |
| 343 | |
| 344 | /** |
| 345 | * Extract emails from list of elements |
no outgoing calls
no test coverage detected