Skip to main content

Admin: Answer Options for Questions

Premium
4 min read

In this tutorial, we will add the ability to add the possible answer options to the question. This is the first time in this course where Livewire will actually shine:

edit question

Let's start by creating a Model with Migration and adding relationships...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (36 h 00 min)

You also get:

61 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Showemimo Adebare avatar

Hello, I cant get this code to work! Follow all the processes.

asequeira avatar

Hi, the reference

resources/views/livewire/questions/form.blade.php

shoud be

resources/views/livewire/questions/question-form.blade.php

Showemimo Adebare avatar

Many thanks,

In my case, I missed out the livewire asset and script tag in the app.blade.php.

Regards

👍 1
Povilas Korop avatar

Thanks @asequeira well noticed, fixed in the lesson text!

PAKMAN GH avatar

Hi many thanks for this good offer. When I login I don't see the question form. How do I find it? I did this "/questions/create" but still did not find it

Nerijus avatar

What question form are you talking about?

Solomon Iroegbu avatar

Hi please im getting error . Livewire page component layout view not found: [components.layouts.app]

Solomon Iroegbu avatar

i followed the direction but cant acces question but the above error

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.