alibaba / formily

📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
https://formilyjs.org/
MIT License
11.43k stars 1.49k forks source link

Field Passport 无法通过 actions.setFiledValue 进行赋值以及错误提示 Icon 错位 #671

Closed JerryLyu93 closed 4 years ago

JerryLyu93 commented 4 years ago
  1. How would you tag this issue?

    • Bug
  2. Describe your issue:

    • What is the current behavior?

      1. Field type passport 无法通过 actions.setFieldState or actions.setFiledValue 进行赋值
      2. Field type passport 校验错误时,Icon 错位。
    • What is the expected behavior?

      1. Field type passport 可以被正常赋值。
      2. Field type passport 校验错误时,显示正常
    • Which versions of Formily? v.1.0.2

    • Did this work in previous versions of Formily? nope

  3. If your issue is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via Bug Report Template on CodeSandbox .

https://codesandbox.io/s/wispy-wildflower-mdu8o?fontsize=14&hidenavigation=1&theme=dark

JerryLyu93 commented 4 years ago

正在尝试提供一个 PR 进行修复。如果你们已正在修复,请回复我一下