Skip to content

Commit 21d9a95

Browse files
committed
Added additional Troubleshooting fix to README.md
1 parent 4266765 commit 21d9a95

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,12 @@ input.addEventListener('telchange', function(e) {
252252
//...
253253
}
254254
```
255+
In some cases where the popup form contains a tel-input with pre-filled values/phone numbers from the component `mount()` and dispatching browser event is not possible from the component. Add the following javascript codes to the end of of the component blade view.
256+
```html
257+
<script wire:ignore>
258+
document.dispatchEvent(new Event('telDOMChanged'));
259+
</script>
260+
```
255261

256262
<a name="testing"></a>
257263

0 commit comments

Comments
 (0)