fix(blocksAntd): remove defaultActiveFirstOption in AutoComplete

This commit is contained in:
Gervwyk 2020-11-04 13:18:44 +02:00
parent 0274cb2384
commit 9f9ba8c5fe
4 changed files with 0 additions and 17 deletions

View File

@ -48,13 +48,6 @@
- Option 1
- Option 2
backfill: true
- id: "properties.defaultActiveFirstOption: true"
type: AutoComplete
properties:
options:
- Option 1
- Option 2
defaultActiveFirstOption: true
- id: "properties.defaultOpen: true"
type: AutoComplete
properties:

View File

@ -47,7 +47,6 @@ const AutoCompleteInput = ({
autoFocus={properties.autoFocus}
backfill={properties.backfill}
className={methods.makeCssClass(properties.inputStyle)}
defaultActiveFirstOption={properties.defaultActiveFirstOption}
defaultOpen={properties.defaultOpen}
disabled={properties.disabled}
placeholder={properties.placeholder || 'Type or select item'}

View File

@ -22,11 +22,6 @@
"default": false,
"description": "Backfill selected item the input when using keyboard"
},
"defaultActiveFirstOption": {
"type": "boolean",
"default": true,
"description": "Whether active first option by default."
},
"defaultOpen": {
"type": "boolean",
"default": false,

View File

@ -16,10 +16,6 @@ exports[`Test Schema properties.backfill: true 1`] = `true`;
exports[`Test Schema properties.backfill: true 2`] = `null`;
exports[`Test Schema properties.defaultActiveFirstOption: true 1`] = `true`;
exports[`Test Schema properties.defaultActiveFirstOption: true 2`] = `null`;
exports[`Test Schema properties.defaultOpen: true 1`] = `true`;
exports[`Test Schema properties.defaultOpen: true 2`] = `null`;