Skip to content

pre-select radio not working #98

Open
@wrabit

Description

@wrabit

Even though the model value is === 0, it is not pre-selecting the radio when:

{!! Form::open()->fill($model !!}
{!! Form::radio('has_tickets', 'No', 0) !!}

image

<?= $model->has_tickets === 0 ? 'true' : 'false' ?>

Returns 'true';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions