Category : undefined

after grouping urls with prefix in web.php I have created language switcher like this Route::redirect(‘/’,’/ge’); Route::group([‘prefix’ => ‘{language}’],function (){ Route::get(‘/’, function () { return view(‘welcome’); }); }); I tested it and it was working fine. now I need to add links ( language switcher) but after I do this I receive an exception and an ..

Read more

I want to insert data into multiple tables (one to one), but i get error and in my database the column "metode_id" is null. i want the "metode_id" is not null this is class "Transaksi" : class Transaksi extends Model { protected $table = "transaksi"; protected $primarykey = "id"; protected $fillable = [‘stok_kedelai’, ‘stok_ragi’, ‘harga_kedelai’, ..

Read more

I’m stuck in my ToDo App where I want to add a progress Bar for the completed tasks. I defined tasks in data in my TaskComponent.vue: data(){ return{ hook: ”, editmode: false, // todos: [], todos: { title: ”, completed: ”, and get the response data from the database using laravel: getTask(){ axios.get(‘api/task’).then(function(res) { this.todos ..

Read more

This is my jQuery function for appending new input fields. But after sending data, I always receive only the first inputs value in the request array. Blockquote var count = 1; $("#delete_button0").hide(); $(document).on(‘click’, ‘#add_button’, function () { $(this).remove(); var newLink=”; var lastCount = count – 1; newLink += ‘<div class="row">’+ ‘<div class="form-group col-lg-8">’+ ‘<input type="text" ..

Read more