Basic editing with some widgets
This commit is contained in:
10
src/components/Widgets/UnknownControl.js
Normal file
10
src/components/Widgets/UnknownControl.js
Normal file
@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
|
||||
export default class UnknownControl extends React.Component {
|
||||
render() {
|
||||
const { field } = this.props;
|
||||
console.log('field: %o', field.toObject());
|
||||
|
||||
return <div>No control for widget '{field.get('widget')}'.</div>;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user