ITADN

React: field.error always true on React before validation

#295Openbnk17 创建于 2025-08-01
B
bnk17commented
Body: Hi 👋 First, thank you for this library — the API and documentation are super clear, and it was really easy to get started. I'm using the React version. I noticed something I don’t quite understand: in my field render, field.error seems to be always truthy, so the input immediately gets a red border, while the actual error message only shows after submitting the form. Here’s a minimal snippet:
0 条评论