1
0
Эх сурвалжийг харах

update: model binding for email input

Marvin Tunji-ola 5 жил өмнө
parent
commit
8a8e8c9400
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  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')
     })
 })
+