From 45623e3d7be4a25ab75f2ad1d28b75a800cda605 Mon Sep 17 00:00:00 2001 From: GabrielTrettel Date: Thu, 23 Sep 2021 15:35:20 -0300 Subject: [PATCH] FormField with optional `flex` props for better layout construction --- src/app/components/forms/FormField.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/forms/FormField.js b/src/app/components/forms/FormField.js index 9ed1558..f0bca71 100644 --- a/src/app/components/forms/FormField.js +++ b/src/app/components/forms/FormField.js @@ -106,6 +106,7 @@ function AppFormField({ name, width, increaseDecreaseButtons = false, + flex = 0, ...otherProps }) { const { @@ -118,7 +119,7 @@ function AppFormField({ } = useFormikContext(); return ( - +