Skip to content

Voting for a poll #115

@Mohamed-Nusry

Description

@Mohamed-Nusry

Hey.

First of all I had to say this is an amazing package. It makes easy to create a poll.

My issue is after created a poll when voting how should I find the selected answer ID. in the route method it comes only poll ID

$voter->poll($poll)->vote($voteFor->getKey());

Above one is the code u have mentioned in the doc. But from where $voteFor variable comes? how to get it?

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