0

Custom admin form show in localhost not display in server in magento 2

I have follow this reference to create a custom form in admin https://www.maximehuran.fr/en/layouts-and-forms-on-magento-2-admin/

In LocalHost:

enter image description here

In Server:

enter image description here

5
  • Is there any log in the console?
    – kunj
    Feb 20 '20 at 11:16
  • there is no error in log file Feb 20 '20 at 11:25
  • In local & server both have same deployment mode ? if yes then maybe you need to set production mode in local system and then check ur functionality. Feb 20 '20 at 11:51
  • I mean for browser console log.
    – kunj
    Feb 20 '20 at 14:10
  • There is no console error prnt.sc/r5hlj4 Feb 21 '20 at 5:05
0

Try to use Ui component form instead of blocks if you want to write less code and let magento make all work for you. If you want to control whole process u can try blocks as well.

You can follow this tutorial

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.