From 497330f97be07d06245a76b2e761be9c415ae194 Mon Sep 17 00:00:00 2001 From: Vincent Semrau Date: Thu, 12 Mar 2020 14:35:35 +0100 Subject: [PATCH 1/2] typo --- packages/material-ui-lab/src/Autocomplete/Autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js index 181cd75978d298..94d3694a4a20f0 100644 --- a/packages/material-ui-lab/src/Autocomplete/Autocomplete.js +++ b/packages/material-ui-lab/src/Autocomplete/Autocomplete.js @@ -542,7 +542,7 @@ Autocomplete.propTypes = { */ closeText: PropTypes.string, /** - * If `true`, the popup will ignore the blur event if the input if filled. + * If `true`, the popup will ignore the blur event if the input is filled. * You can inspect the popup markup with your browser tools. * Consider this option when you need to customize the component. */ From ca84f0c85dfc75e4a1bc8a036a144f2117bd0c74 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 13 Mar 2020 22:31:19 +0100 Subject: [PATCH 2/2] update source --- docs/pages/api-docs/autocomplete.md | 2 +- .../material-ui-lab/src/useAutocomplete/useAutocomplete.d.ts | 2 +- packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/pages/api-docs/autocomplete.md b/docs/pages/api-docs/autocomplete.md index b6536464eb6278..fa8ccd8469ce67 100644 --- a/docs/pages/api-docs/autocomplete.md +++ b/docs/pages/api-docs/autocomplete.md @@ -34,7 +34,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi | clearText | string | 'Clear' | Override the default text for the *clear* icon button.
For localization purposes, you can use the provided [translations](/guides/localization/). | | closeIcon | node | <CloseIcon fontSize="small" /> | The icon to display in place of the default close icon. | | closeText | string | 'Close' | Override the default text for the *close popup* icon button.
For localization purposes, you can use the provided [translations](/guides/localization/). | -| debug | bool | false | If `true`, the popup will ignore the blur event if the input if filled. You can inspect the popup markup with your browser tools. Consider this option when you need to customize the component. | +| debug | bool | false | If `true`, the popup will ignore the blur event if the input is filled. You can inspect the popup markup with your browser tools. Consider this option when you need to customize the component. | | defaultValue | any
| array
| props.multiple ? [] : null | The default input value. Use when the component is not controlled. | | disableClearable | bool | false | If `true`, the input can't be cleared. | | disableCloseOnSelect | bool | false | If `true`, the popup won't close when a value is selected. | diff --git a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.d.ts b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.d.ts index 1929916312bc92..0a85fa1ad51b67 100644 --- a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.d.ts +++ b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.d.ts @@ -53,7 +53,7 @@ export interface UseAutocompleteCommonProps { */ componentName?: string; /** - * If `true`, the popup will ignore the blur event if the input if filled. + * If `true`, the popup will ignore the blur event if the input is filled. * You can inspect the popup markup with your browser tools. * Consider this option when you need to customize the component. */ diff --git a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js index d98d1650945ef9..7a7dcbd4eb38dc 100644 --- a/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js +++ b/packages/material-ui-lab/src/useAutocomplete/useAutocomplete.js @@ -976,7 +976,7 @@ useAutocomplete.propTypes = { */ componentName: PropTypes.string, /** - * If `true`, the popup will ignore the blur event if the input if filled. + * If `true`, the popup will ignore the blur event if the input is filled. * You can inspect the popup markup with your browser tools. * Consider this option when you need to customize the component. */