Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
when open the input config modal of start node, the first input element will auto focus, and then click any other elements will trigger checkVariableName. So when click the cancel button or other field type button will raise an error first, which is strange.
my solution is to make another html element auto focus, any other better solutions?
Type of Change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update, included: Dify Document
[ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
Checklist:
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint godsDescription
https://github.com/user-attachments/assets/c5547d2b-3d1b-4530-8013-35ee64fae0f0
when open the input config modal of start node, the first input element will auto focus, and then click any other elements will trigger
checkVariableName
. So when click the cancel button or other field type button will raise an error first, which is strange.my solution is to make another html element auto focus, any other better solutions?
Type of Change
Testing Instructions
test locally.
tab
key worked