Giter VIP home page Giter VIP logo

Comments (4)

gfernandes410 avatar gfernandes410 commented on May 31, 2024

@jalogut have you seen this PR?

from magento2-code-generator.

jalogut avatar jalogut commented on May 31, 2024

Hi @gfernandes410
I merged your PR and created a new version 1.11.1. Thanks for your contribution and sorry for the delay.

from magento2-code-generator.

UpSage avatar UpSage commented on May 31, 2024

Hi . It does not seem to work if I have a UI component tab on the form. It does not save and Im getting this error:

Error: Call to undefined method Vendor\Module\Controller\Adminhtml\Module\Save\Interceptor::generateRandomString()

Please help. Thank you

<fieldset name="main_fieldset">
 
  <settings>
   <label translate="true">Tab 1</label>
  </settings>
  
  <field name="store_id">
   <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
     <item name="visible" xsi:type="boolean">true</item>
     <item name="dataType" xsi:type="string">number</item>
     <item name="formElement" xsi:type="string">hidden</item>
     <!--<item name="default" xsi:type="number">0</item>-->
     <item name="sortOrder" xsi:type="string">10</item>
     <item name="source" xsi:type="string">main_fieldset</item>
    </item>
   </argument>
  </field>
  
  <field name="entity_id">
   <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
     <item name="visible" xsi:type="boolean">false</item>
     <item name="dataType" xsi:type="string">text</item>
     <item name="formElement" xsi:type="string">input</item>
     <item name="source" xsi:type="string">main_fieldset</item>
    </item>
   </argument>
  </field>
  
  <field name="identifier">
   <argument name="data" xsi:type="array">
    <item name="config" xsi:type="array">
     <item name="visible" xsi:type="boolean">true</item>
     <item name="dataType" xsi:type="string">text</item>
     <item name="label" xsi:type="string">Identifier</item>
     <item name="formElement" xsi:type="string">input</item>
     <item name="source" xsi:type="string">main_fieldset</item>
     <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">true</item>
     </item>
     <item name="sortOrder" xsi:type="number">10</item>
     <item name="scopeLabel" xsi:type="string">[GLOBAL]</item>
    </item>
   </argument>
  </field>
  
  <!-- Add your fields here -->
  
 </fieldset>

from magento2-code-generator.

UpSage avatar UpSage commented on May 31, 2024

@jalogut @gfernandes410 . Please help thanks

from magento2-code-generator.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.