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? (30 h 09 min)

You also get:

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

Already a member? Login here

Comments & Discussion

SA
Showemimo Adebare ✓ Link copied!

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

A
asequeira ✓ Link copied!

Hi, the reference

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

shoud be

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

SA
Showemimo Adebare ✓ Link copied!

Many thanks,

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

Regards

PK
Povilas Korop ✓ Link copied!

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

V
Velkacem ✓ Link copied!

Hi, I want the repository link please Thanks

PG
PAKMAN GH ✓ Link copied!

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

N
Nerijus ✓ Link copied!

What question form are you talking about?

SI
Solomon Iroegbu ✓ Link copied!

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

SI
Solomon Iroegbu ✓ Link copied!

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

N
Nerijus ✓ Link copied!

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.