* fix(materials): mouseup event propagation in condition * fix(docs): form-materials
@@ -12,7 +12,7 @@ export function MaterialDisplay(props: any) {
<br />
<PackageManagerTabs
command={{
- 'By Import': `import { ${props.exportName} } from '@flowgram.ai/materials'`,
+ 'By Import': `import { ${props.exportName} } from '@flowgram.ai/form-materials'`,
// components/type-selector/index.tsx -> components/type-selector
'By CLI': `npx @flowgram.ai/form-materials@latest ${props.filePath
.split('/')
@@ -67,7 +67,12 @@ export function ConditionRow({ style, value, onChange, readonly }: PropTypes) {
onChange={(v) => onChange({ ...value, right: v })}
/>
) : (
- <UIInput size="small" disabled value={opConfig?.rightDisplay || 'Empty'} />
+ <UIInput
+ size="small"
+ disabled
+ style={{ pointerEvents: 'none' }}
+ value={opConfig?.rightDisplay || 'Empty'}
+ />
)}
</UIRight>
</UIValues>
@@ -65,7 +65,12 @@ export function ConditionRow({ style, value, onChange, readonly }: PropTypes) {
- <Input size="small" disabled value={opConfig?.rightDisplay || 'Empty'} />
+ <Input