Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Uncaught (in promise) Error: No such validator 'number' exists.

    Bug Report
    validator backend
    2
    3
    327
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      s2892 last edited by

      Hello,
      Fresh installation via composer
      I have added custom attribute -> Text -> Number validation
      d82444c9-c278-44d4-bba3-1e10e8ad6c98-image.png

      When I am adding a new product -> Save. Console shows error

      Error:

      Error: No such validator 'number' exists.
          DO http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          wO http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          Vc http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          V http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          L http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          au http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          q http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          C http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          X http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          Le http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:17
          Bn http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:1
          qt http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:1
          t http://bagisto.test/themes/admin/default/build/assets/app-c8df2f15.js:1
      app-c8df2f15.js:1:16382
      
      

      Any idea how to fix it ?

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @s2892

        Greetings of the day..!!

        Kindly check the official blog regarding installation through composer

        https://devdocs.bagisto.com/1.x/introduction/installation.html#use-our-gui-installer

        Thanks & Regards..!!

        S 1 Reply Last reply Reply Quote 0
        • S
          s2892 @Rishabh-Webkul last edited by

          @Rishabh-Webkul

          Hi,
          a) Your link is to version 1.x - i installed 2.x
          b) default products are working, only Number fields validation is bugged.

          To sum up:
          I did step by step exactly as documentation said.
          The default products working well and Laravel console doesnt show any issue.
          Looks like its related to Vue (fronted)
          any ide why ?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post