Fix multple bugs #11
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export class Properties extends React.Component<IPropertiesProps, IPropertiesSta
|
||||||
groupInput: React.ReactNode[]
|
groupInput: React.ReactNode[]
|
||||||
) => {
|
) => {
|
||||||
const id = `property-${key}`;
|
const id = `property-${key}`;
|
||||||
const type = isNaN(Number(value)) ? 'text' : 'number';
|
const type = 'text';
|
||||||
const isDisabled = key === 'id' || key === 'parentId'; // hardcoded
|
const isDisabled = key === 'id' || key === 'parentId'; // hardcoded
|
||||||
groupInput.push(
|
groupInput.push(
|
||||||
<div key={id} className='mt-4'>
|
<div key={id} className='mt-4'>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue