[Bug] Not work when a `fieldKey` is `type`
CrazyWood007 opened this issue · comments
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of DripForm、DripFormTheme.
- I have read the console error message carefully (if applicable).
Description
When I set a fieldKey
to type
, the form item can't change value.
Steps to reproduce
- Open https://jdfed.github.io/drip-form/generator_demo/ .
- Choose a
Text
component. - Click
JSON Edit
and set thefieldKey
totype
. - Click
Form Preview
. - Try to type some words.
Current behavior
No response to my input.
Expected behavior
It works fine.
Your environment
- DripForm version used: -
- DripFormTheme used: -
- DripFormTheme version used: -
Just use your demo: https://jdfed.github.io/drip-form/generator_demo/
Reproducible demo
No response
Self-service
- I'd be willing to fix this bug myself.