How Can I Disable This Two Required Place

0

How can i disable this two required compo ?

The symbology field is required.

The category id field is required.

Question Resolved For: Simple Stock Manager 0 Votes 7 Answers 225 Views
Asked by Jack 4 months ago

0

Answered by Mian Saleem 4 months ago

Hello,

You can modify the app/Http/Requests/ItemRequest.php for item validation rules.

Thank you

0

Answered by Jack 4 months ago

Change to
'symbology' => 'nullable',
'category_id' => 'nullable',

But not works.

0

Answered by Mian Saleem 4 months ago

Hello,

That might be due to database as those filed are not nullable so once system try to insert the record the database gives error.

Can you please let me know your installation URL with login details to have a look at your installation.

Thank you

0

Answered by Jack 4 months ago

After change the database, it works. Thanks.

0

Answered by Jack 4 months ago

For,
Quantity
100.00

I want to remover decimal(10,2) , even changed in database, but not works.

can you let me where to change in the code ?

0

Answered by Mian Saleem 4 months ago

Hello,

You can modify the #number in the mixin file resources/js/Core/mixin.js and the rebuild the app npm i && npm run build

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.