Question: How Can I Disable This Two Required Place

How Can I Disable This Two Required Place

How can i disable this two required compo ? The symbology field is required. The category id field is required.

J

Jack

Asked

How can i disable this two required compo ?

The symbology field is required.

The category id field is required.

  • MS

    Mian Saleem

    Answered

    Hello,

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

    Thank you

  • J

    Jack

    Answered

    Change to
    ‘symbology’ => ‘nullable’, ‘category_id’ => ‘nullable’,

    But not works.

  • MS

    Mian Saleem

    Answered

    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

  • J

    Jack

    Answered
  • J

    Jack

    Answered

    After change the database, it works. Thanks.

  • J

    Jack

    Answered

    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 ?

  • MS

    Mian Saleem

    Answered

    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

  • Login to Reply