mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-09-12 14:08:50 +08:00
Fixes schema fields not properly setting text inputs to numbers (#214)
This commit is contained in:
parent
331f30ba1e
commit
9b4da2a08e
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ export default function SchemaFields({ title, description, parent, form, schema
|
|||
key={key}
|
||||
form={form}
|
||||
name={`${parent}.${key}`}
|
||||
type={item.type === 'number' ? 'number' : 'text'}
|
||||
label={title}
|
||||
subtitle={item.description}
|
||||
required={required}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue