mirror of https://github.com/sveltejs/svelte
				
				
				
			Merge pull request #529 from sveltejs/bind-checked
	
		
	
				
					
				
			Provide second argument to validator.error with bind:checked errorspull/542/head
						commit
						e80edf8386
					
				@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					[{
 | 
				
			||||||
 | 
						"message": "'checked' binding can only be used with <input type=\"checkbox\">",
 | 
				
			||||||
 | 
						"loc": {
 | 
				
			||||||
 | 
							"line": 1,
 | 
				
			||||||
 | 
							"column": 7
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						"pos": 7
 | 
				
			||||||
 | 
					}]
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					<input bind:checked='foo'>
 | 
				
			||||||
					Loading…
					
					
				
		Reference in new issue