Is there way to how to hide namespace in vs code?

|
Bright 2022-03-27 12:44:25
http://blogistic.ezyro.com/?i=1
Amit Sharma 2022-03-27 12:57:17
anyone pls let me know how to active/Inactive checkbox switch ?
Amit Sharma 2022-03-27 12:57:33
on change
Amit Sharma 2022-03-27 12:58:02
like
Amit Sharma 2022-03-27 12:58:40
laravel_discuss-112998.jpg
i want this as active inactive
Mr. N♡ ♡N€🇮🇳 2022-03-27 12:59:43
Amit Sharma 2022-03-27 12:58:40
i want this as active inactive

U just set checked attribute based on record status

Amit Sharma 2022-03-27 13:03:01
but I want if I click on it, it should update the value on the database
Amit Sharma 2022-03-27 13:03:13
how to do that
Amit Sharma 2022-03-27 13:03:45
i tried javascript
Amit Sharma 2022-03-27 13:03:58
$(‘input[type=checkbox]’).on(‘change’, function() {
let status = $(this).val();
console.log(status);
Amit Sharma 2022-03-27 13:04:25
but not working
Mr. N♡ ♡N€🇮🇳 2022-03-27 13:43:43
Amit Sharma 2022-03-27 13:03:01
but I want if I click on it, it should update the value on the database

U have to use ajax for that ….

Mr. N♡ ♡N€🇮🇳 2022-03-27 13:44:23
Amit Sharma 2022-03-27 13:03:58
$(‘input[type=checkbox]’).on(‘change’, function() {
let status = $(this).val();
console.log(status);

Yes after that use ajax and update the value in database,

Amit Sharma 2022-03-27 13:44:26
Amit Sharma 2022-03-27 13:03:58
$(‘input[type=checkbox]’).on(‘change’, function() {
let status = $(this).val();
console.log(status);

yes i want but not get value here then how

Mr. N♡ ♡N€🇮🇳 2022-03-27 13:44:53
Amit Sharma 2022-03-27 13:44:26
yes i want but not get value here then how

Just Google ajax jQuery

Amit Sharma 2022-03-27 13:45:47
yes i tried and found same
Amit Sharma 2022-03-27 13:45:58
$(‘input[type=checkbox]’).on(‘change’, function() {
let status = $(this).val();
console.log(status);
Amit Sharma 2022-03-27 13:46:13
but not getting value in console
ShadowWalker91 2022-03-27 16:51:44
Amit Sharma 2022-03-27 13:46:13
but not getting value in console

Did you set the value on the check box

rlawjddn00 2022-03-27 18:11:34
Is there way to how to hide namespace in vs code?
rlawjddn00 2022-03-27 18:11:46
or folding namespace?
Manalalsubaei 2022-03-27 18:27:38
devpsoft 2022-03-27 12:04:40
take screenshot to function

laravel_discuss-113029.jpg

Manalalsubaei 2022-03-27 18:28:16
Manalalsubaei 2022-03-27 18:27:38

laravel_discuss-113030.jpg

devpsoft 2022-03-27 18:35:53
Manalalsubaei 2022-03-27 18:27:38

I see required: employee..
And
unique|

Manalalsubaei 2022-03-27 18:36:43
yes
Manalalsubaei 2022-03-27 18:37:09
devpsoft 2022-03-27 18:35:53
I see required: employee..
And
unique|

2 constraints

devpsoft 2022-03-27 18:37:09
I think unique should be instead of required
devpsoft 2022-03-27 18:37:37
I you want say required and unique
devpsoft 2022-03-27 18:38:30
‘required|unique:…
devpsoft 2022-03-27 18:41:29
The validation run condition by condition, mean , you should now order, it doesn’t run all the same time
Manalalsubaei 2022-03-27 18:46:07
ok
Manalalsubaei 2022-03-27 18:46:18
I will try it
Manalalsubaei 2022-03-27 18:46:31
Thanks @dzsoft
Aved29 2022-03-27 19:05:27
Hi I am new to this group
Aved29 2022-03-27 19:05:46
I want to learn laravel with unconditional
|