I want to create a dropdown list where the data retrieved from the database, ie dropdown level. the value of the dropdown level is taken from the table level.
My re
You should not write any code in vendor's file, rather than you may use service injection or view composers to serve your purpose.
If I understood you correctly, you need to override showRegistrationForm()
method. So, copy-paste this method from vendor to RegisterController
and work with it there:
public function showRegistrationForm()
{
// Do something here.
return view('auth.register');
}
Also, do not make any changes in vendor
directory.