adds Form component to Filter and rolled back frustrating Webpack bug dealing with FormConsumer
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user