A complete react form builder that interfaces with a json endpoint to load and save generated forms. The toolbox contains 16 items for gathering data. Everything from star ratings to signature boxes!
MIT License
473
stars
351
forks
source link
Dragging Custom Element inside of MultiColumn Element #283
I have a many custom elements such as this one, it works perfectly but for some reason dragging doesn't work inside of the multicolumn elements. It starts the dragpreview for less than a second and then just cancels the drag without any errors at all. Any Help, really stuck on this,
import React from 'react'; import { Registry } from '../../FormBuilderLibrary'; import { stringToHTML } from '../utils';
import TextField from '@mui/material/TextField'; import FormHelperText from '@mui/material/FormHelperText'; import { getElementIcon } from '../utils';
export const MUITextArea = React.forwardRef((props, ref) => { const { name, defaultValue, disabled, isFormBuilder } = props;
});
MUITextArea.displayName = 'MUI_TextArea'; Registry.register('MUI_TextArea', MUITextArea);
I have a many custom elements such as this one, it works perfectly but for some reason dragging doesn't work inside of the multicolumn elements. It starts the dragpreview for less than a second and then just cancels the drag without any errors at all. Any Help, really stuck on this,