From e860997fff8ff9091c47a3da2040f837e146991a Mon Sep 17 00:00:00 2001 From: David Gero Date: Mon, 30 Mar 2020 16:59:36 +0200 Subject: [PATCH 1/2] Fix two typos - browser - submitting --- UNRELEASED.md | 2 ++ src/components/Form/Form.tsx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/UNRELEASED.md b/UNRELEASED.md index 1098b4325db..35612e2183b 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -10,6 +10,8 @@ ### Documentation +- Fixed two typos in the `Form` documentation. + ### Development workflow ### Dependency upgrades diff --git a/src/components/Form/Form.tsx b/src/components/Form/Form.tsx index b4cc7b5f859..a6a9f93b7e3 100644 --- a/src/components/Form/Form.tsx +++ b/src/components/Form/Form.tsx @@ -17,11 +17,11 @@ export interface FormProps { acceptCharset?: string; /** Where to send form-data on submittal */ action?: string; - /** Grants the broswer the ability to autocomplete input elements */ + /** Grants the browser the ability to autocomplete input elements */ autoComplete?: boolean; /** The content to display inside the form. */ children?: React.ReactNode; - /** Media type when submiting content to server */ + /** Media type when submitting content to server */ encType?: Enctype; /** Toggles if form submits on Enter keypress. Defaults to true. */ implicitSubmit?: boolean; From 93ec2a3b88492ac8cbca209a4ffc4417a2d95124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ger=C5=91?= Date: Wed, 1 Apr 2020 17:25:21 +0200 Subject: [PATCH 2/2] Update UNRELEASED.md Co-Authored-By: Kaelig Deloumeau-Prigent --- UNRELEASED.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UNRELEASED.md b/UNRELEASED.md index 35612e2183b..1bd7bf10e16 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -10,7 +10,7 @@ ### Documentation -- Fixed two typos in the `Form` documentation. +- Fixed two typos in the `Form` documentation ([#2879](https://github.com/Shopify/polaris-react/pull/2879)) ### Development workflow