Refactor: Filter form (#31)

* chore: add packages

* chore: disable tailwind jit

* refactor: update base layout structure

* refactor: filter to single form with formik

* feat: save filter actions on save

* feat: disable form dirty
This commit is contained in:
Ludvig Lundgren 2021-09-19 20:58:47 +02:00 committed by GitHub
parent c092ffc62d
commit 974ca95d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 1915 additions and 1112 deletions

View file

@ -32,6 +32,7 @@ const TextField: React.FC<Props> = ({ name, label, placeholder, columns , classN
{...input}
id={name}
type="text"
value={input.value}
autoComplete={autoComplete}
className="mt-2 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-light-blue-500 focus:border-light-blue-500 sm:text-sm"
placeholder={placeholder}