# Checkbox

# Code

<x-laratify-checkbox
  name="terms"
  label="accept terms & conditions"
  checkbox-label="accept"
  id="terms_id"
  :value="old('terms', $data->terms ?? '')"
>
</x-laratify-checkbox>

disabling

for disabling the checkbox set disabled attributes.

checkbox column

checkbox attributes should have boolean migration columns.

# Playground

Last Updated: 5/15/2020, 1:45:50 PM