[英]Shopware 6 - Field validation in plugin configuration not working
I have added below code in config.xml
for plugin validation but its by passing.我在
config.xml
添加了以下代码用于插件验证,但它是通过的。 Blank values are being saved.正在保存空白值。
Although asterisk (*) is showing on each input field.尽管星号 (*) 显示在每个输入字段上。
I tried to change the <required>1</required>
to <required>true</required>
but that also not helps.我试图将
<required>1</required>
更改为<required>true</required>
但这也无济于事。
<card><input-field type="text">
<name>userName</name>
<label>Username</label>
<label lang="de-DE">Nutzername</label>
<required>1</required>
</input-field>
<input-field type="text">
<name>password</name>
<label>Password</label>
<label lang="de-DE">Passwort</label>
<required>1</required>
</input-field></card>
Does any one helps me on this.有没有人帮我解决这个问题。
这是一个已知问题,我们已经得到了一张票。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.