-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.xml comment model not allowed by the validation schema #770
Labels
improvement
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Comments
@tzyganu, thank you for your request! We will consider the change you requested and will get back to you once we have a response. |
Internal ticket: MAGETWO-31251 |
vpelipenko
added
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
PROD
and removed
TECH
labels
Feb 20, 2015
I see that this was merged in the develop branch. Thanks. I will close the issue. |
is there any way to create field programically? i want to add each payment one fee text box. |
mmansoor-magento
pushed a commit
that referenced
this issue
Jan 26, 2017
…l4_test MAGETWO-63018: L4 Magento\UrlRewrite\Block\Catalog\Edit\FormTest::testGetEntityStores test failed
fe-lix-
pushed a commit
to fe-lix-/magento2
that referenced
this issue
Apr 6, 2018
MSI-633: Investigate possible exception with $this->getProductIdsBySkus->execute([$sku])[$sku]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
improvement
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
I'm trying to add a dynamic comment on a
system.xml
file.In magento 1 this was possible by adding this on the field definion
and creating the model class [Namespace]_[Module]_Model_Field_Comment that contains a public method
getCommentText
.In Magento 2 this is not possible anymore because of the validation schema
Magento/Backend/etc/system_file.xsd
. In this schema thecomment
node has the typetype="xs:string"
.The odd think is that in the code that generates the form the case of a comment model is handled
Magento\Backend\Model\Config\Structure\Element\Field::getComment
looks like this:So I guess you can bring back this functionality just by changing the type of the
comment
node.Please bring it back. Even if it doesn't sound like much, I've used this a few times to present important messages for the admins directly in the configuration area.
The text was updated successfully, but these errors were encountered: