← prev | next →
hypernxf 2021-01-11 10:34:30
then you can do a check if category is not set, set one value in it
prime 2021-01-11 10:35:16
hypernxf 2021-01-11 10:33:09
stop showing me screenshots
well i was able to get other fields into the database except the checkbox values=>category..
hypernxf 2021-01-11 10:35:35
Thank you. Now I feel like i’m talking to a real human
hypernxf 2021-01-11 10:35:52
My guess is
hypernxf 2021-01-11 10:36:08
when the checkbox is now checked, the category input data is not sent to the backend.
hypernxf 2021-01-11 10:36:21
thus category is not set
hypernxf 2021-01-11 10:36:54
only when you check the checkbox then category will be send to the back end.
so if you do a dd() you can confirm what I just said
prime 2021-01-11 10:38:58
okay …. let me try…
hypernxf 2021-01-11 10:41:06
you should always test every line of your code.
hypernxf 2021-01-11 10:41:35
when you do a implode(), are you sure the implode() is working?
when you do $request->merge(), Are you sure it’s merging?
hypernxf 2021-01-11 10:41:47
follow this thought and you shouldn’t have any difficulty troubleshooting your own issues next time
segungreat 2021-01-11 12:37:11
prime 2021-01-11 10:32:38
From this, I think you are trying to make the category multiple option, if so, you need to make it an array I.e in the name attribute of the inputs use ‘category []’
The DD to see the request values you receive and mind you according to @hypernxf if the check box is not checked you won’t receive any value for that checkbox
segungreat 2021-01-11 12:39:13
prime 2021-01-11 10:29:02

And this also shows your contacts tables doesn’t have category column, I don’t how your are really saving it
rebory 2021-01-11 12:59:26
node_module folder required? on server ? after run -> npm run production command on local?
rebory 2021-01-11 13:01:20
any blog or youtube video link?
RezaAmini_ir 2021-01-11 13:02:38
rebory 2021-01-11 12:59:26
node_module folder required? on server ? after run -> npm run production command on local?
You don’t need node_module in production
rebory 2021-01-11 13:03:33
RezaAmini_ir 2021-01-11 13:02:38
You don’t need node_module in production
ok but make sure it not show any error related this folder on server?
prime 2021-01-11 13:04:42
segungreat 2021-01-11 12:37:11
From this, I think you are trying to make the category multiple option, if so, you need to make it an array I.e in the name attribute of the inputs use ‘category []’
The DD to see the request values you receive and mind you according to @hypernxf if the check box is not checked you won’t receive any value for that checkbox

prime 2021-01-11 13:04:52
finally i got it…….
rebory 2021-01-11 13:06:17
RezaAmini_ir 2021-01-11 13:02:38
You don’t need node_module in production
can you provide me your any webpackmix js for undetatnding how to add css or js
RezaAmini_ir 2021-01-11 13:06:19
rebory 2021-01-11 13:03:33
ok but make sure it not show any error related this folder on server?
If you don’t make a change in your styles and scripts with npm you don’t need this folder
but if you want to change your scss and js files in resources folder and run the commands like npm run dev you will need it
RezaAmini_ir 2021-01-11 13:07:59
because each command like npm run dev or npm run production needs this folder
if you are not going to use these commands in production you can delete this folder
and also you can recreate this folder with npm install command
rebory 2021-01-11 13:09:11
RezaAmini_ir 2021-01-11 13:07:59
because each command like npm run dev or npm run production needs this folder
if you are not going to use these commands in production you can delete this folder
and also you can recreate this folder with npm install command
ok thank u alot
rebory 2021-01-11 13:09:51
i have one more question regarding npm
RezaAmini_ir 2021-01-11 13:10:45
rebory 2021-01-11 13:09:51
i have one more question regarding npm
We are here to hear 🙂
rebory 2021-01-11 13:12:13
can we add ? example: style.min.js or style.min.css in webpack mix?
RezaAmini_ir 2021-01-11 13:13:11
rebory 2021-01-11 13:12:13
can we add ? example: style.min.js or style.min.css in webpack mix?
Do you mean compress styles and scripts with npm?
rebory 2021-01-11 13:13:31
actually i’m not good in english
rebory 2021-01-11 13:14:15
i asking to u , webpack mix allow to add min.css or min.js files?
hypernxf 2021-01-11 13:29:15
short answer is yes
prime 2021-01-11 14:32:39
Method IlluminateValidationValidator::validateMessage does not exist.
Jatin Vaghasiya 2021-01-11 14:38:16
User wise subdomain
Jatin Vaghasiya 2021-01-11 14:38:27
Create Any one
Mikedee 2021-01-11 16:12:49
Getting error when run
Npm run dev
Anyone else experience the same?
imrankabirk 2021-01-11 16:14:40
https://www.fiverr.com/s2/c433962119
imrankabirk : I will develop php, laravel, codeigniter web application for $20 on fiverr.com –
Fiverr.comFor only $20, imrankabirk will develop php, laravel, codeigniter web application. | I have been providing my services in this field for over 10 years. I have a very good experience in PHP, Laravel, CodeIgniter and can | On Fiverr
← prev | next →