adds Form component to Filter and rolled back frustrating Webpack bug dealing with FormConsumer

This commit is contained in:
James
2018-09-25 00:11:57 -04:00
parent ec4ec73b3a
commit 10032744d7

View File

@@ -1,10 +1,12 @@
import React, { Component } from 'react';
import { Input } from 'payload/components';
import { Form, Input } from 'payload/components';
class Filter extends Component {
render() {
return (
<Input data-fillable placeholder="Search" type="text" id="keywords" />
<Form>
<Input placeholder="Search" type="text" name="keywords" />
</Form>
);
}
}