jd-opensource / drip-form

基于React和JSONSchema的动态表单解决方案

Home Page:https://jd-opensource.github.io/drip-form/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Not work when a `fieldKey` is `type`

CrazyWood007 opened this issue · comments

commented

Have you 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

  1. Open https://jdfed.github.io/drip-form/generator_demo/ .
  2. Choose a Text component.
  3. Click JSON Edit and set the fieldKey to type.
  4. Click Form Preview.
  5. Try to type some words.

Current behavior

No response to my input.

Expected behavior

It works fine.

Your environment

Reproducible demo

No response

Self-service

  • I'd be willing to fix this bug myself.