-
Notifications
You must be signed in to change notification settings - Fork 143
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
[comp:form] form内包非表单项的普通输入框,检验时会爆红 #1099
Comments
Translation of this issue:[Comp: Form] Form's ordinary input box of non -form items in the form, it will become popular when testing
REPRODUCTION LINK[https://playground.idux.site/#eyJQbGF5Z3JvdW5kQXBwLnZ1ZSI6Ijx0ZW1wbGF0ZT5cbiAgPEl4RHJhd2VyUHJvdmlkZXI XG4gICAgPEl4Tm90aWZpY2F0aW9uUHJvdmlkZXI XG4gICAgICA8SXhNb2RhbFByb3ZpZGVyPlxuICAgICAgICA8SXhNZXNzYWdlUHJvdmlkZXI XG4gICAgICAgICAgPEFwcCAvPlxuICAgICAgICA8L0l4TWVzc2FnZVByb3ZpZGVyPlxuICAgICAgPC9JeE1vZGFsUHJvdmlkZXI XG4gICAgPC9JeE5vdGlmaWNhdGlvblByb3ZpZGVyPlxuICA8L0l4RHJhd2VyUHJvdmlkZXI XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0IGxhbmc9XCJ0c1wiIHNldHVwPlxuaW1wb3J0IHsgc2V0dXBJZHV4IH0gZnJvbSAnLi9zZXR1cElkdXguanMnXG5pbXBvcnQgQXBwIGZyb20gJy4vQXBwLnZ1ZSdcbnNldHVwSWR1eCgpXG48L3NjcmlwdD5cbiIsIkFwcC52dWUiOiI8dGVtcGxhdGU XG4gIDxJeEZvcm0gY2xhc3M9XCJkZW1vLWZvcm1cIiA6Y29udHJvbD1cImZvcm1Hcm91cFwiPlxuICAgIDxJeEZvcm1JdGVtIG1lc3NhZ2U9XCJQbGVhc2UgaW5wdXQgeW91ciB1c2VybmFtZSFcIj5cbiAgICAgIDxJeElucHV0IGNvbnRyb2w9XCJ1c2VybmFtZVwiIHByZWZpeD1cInVzZXJcIj48L0l4SW5wdXQ XG4gICAgICA8SX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MsIHVzZUZvcm1Hcm91cCB9IGZyb20gJ0BpZHV4L2Nkay9mb3JtcydcblxuY29uc3QgeyByZXF1aXJlZCwgbWluTGVuZ3RoLCBtYXhMZW5ndGggfSA9IFZhbGlkYXRvcnNcblxuY29uc3QgZm9ybUdyb3VwID0gdXNlRm9ybUdyb3VwKHtcbiAgdXNlcm5hbWU6IFsnJywgcmVxdWlyZWRdLFxuICBwYXNzd29yZDogWycnLCBbcmVxdWlyZWQsIG1pbkxlbmd0aCg2KSwgbWF4TGVuZ3RoKDE4KV1dLFxuICByZW1lbWJlcjogW3RydWVdLFxufSlcblxuY29uc3QgbG9naW4gPSAoKSA9PiB7XG4gIGlmIChmb3JtR3JvdXAudmFsaWQudmFsdWUpIHtcbiAgICBjb25zb2xlLmxvZygnbG9naW4nLCBmb3JtR3JvdXAuZ2V0VmFsdWUoKSlcbiAgfSBlbHNlIHtcbiAgICBmb3JtR3JvdXAubWFya0FzRGlydHkoKVxuICB9XG59XG5cbjwvc2NyaXB0PlxuXG4ifQ==) STEPS To ReproduceSee the reappearance link What is exfected?Form in the general input box of non -table items, not popular when testing What is actually happy?The ordinary input box of the non -form item in the form item will become popular when the inspection will become ENVIRONMENT Info "@idux/cdk": "^1.0.0-rc.1",
"@idux/components": "^1.0.0-rc.1",
"@idux/pro": "^1.0.0-rc.1", |
* feat(comp:*): all input components support setting status closed #1099 * test: update snaps * feat(comp:input-number): support setting sutatus
Reproduction link
[https://playground.idux.site/#eyJQbGF5Z3JvdW5kQXBwLnZ1ZSI6Ijx0ZW1wbGF0ZT5cbiAgPEl4RHJhd2VyUHJvdmlkZXI XG4gICAgPEl4Tm90aWZpY2F0aW9uUHJvdmlkZXI XG4gICAgICA8SXhNb2RhbFByb3ZpZGVyPlxuICAgICAgICA8SXhNZXNzYWdlUHJvdmlkZXI XG4gICAgICAgICAgPEFwcCAvPlxuICAgICAgICA8L0l4TWVzc2FnZVByb3ZpZGVyPlxuICAgICAgPC9JeE1vZGFsUHJvdmlkZ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5cbjwvc2NyaXB0PlxuXG4ifQ==)
Steps to reproduce
见上复现链接
What is expected?
form内包非表单项的普通输入框,检验时不爆红
What is actually happening?
form内包非表单项的普通输入框,检验时会爆红
Environment Info
The text was updated successfully, but these errors were encountered: