Fix multple bugs #11

Merged
Siklos merged 7 commits from dev.rigidbody into dev 2022-08-05 07:32:57 -04:00
Showing only changes of commit 563840080c - Show all commits

View file

@ -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'>