Checkboxes are used for toggling between states. Instead of binding to input.value , we bind to input.checked : <input type=checkbox bind:checked={yes}>.
確定! 回上一頁