Explorar o código

update: model binding for email input

Marvin Tunji-ola %!s(int64=5) %!d(string=hai) anos
pai
achega
8a8e8c9400
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      test/model.spec.js

+ 2 - 1
test/model.spec.js

@@ -443,7 +443,7 @@ test('x-model bind datetime-local input', async () => {
 })
 
 // <input type="email"> 
-test('x-model bind datetime-local input', async () => {
+test('x-model bind email input', async () => {
     document.body.innerHTML = `
     <div x-data="{ key: 'alphine@example.com' }">
       <input type="email" x-model="key" />
@@ -463,3 +463,4 @@ test('x-model bind datetime-local input', async () => {
         expect(document.querySelector('span').innerText).toEqual('x@example.com')
     })
 })
+