Skip to content

Commit

Permalink
Improved features (#78)
Browse files Browse the repository at this point in the history
* Allow additional attributes for react-select

* React depreaction warning fixed

* React creatable fied without dropdown indicator and menu (mimics input field)

* Optimization

* 0.4.5
  • Loading branch information
easeq authored Mar 23, 2020
1 parent 07643c7 commit dade607
Show file tree
Hide file tree
Showing 6 changed files with 2,133 additions and 1,186 deletions.
15 changes: 15 additions & 0 deletions demo/src/schema/all-available-fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,21 @@ export default {
formGroupClass: "form-group mb-4",
validation: [['array'], ['of', [['string']]]]
},
reactSelectCreatableMulti: {
type: "field",
renderer: "react-select",
name: "react-select-multi",
label: "React Select Creatable Multi",
isMulti: true,
isCreatable: true,
options: [],
menuIsOpen: false,
components: {
DropdownIndicator: null
},
formGroupClass: "form-group mb-4",
validation: [['array'], ['of', [['string']]]]
},
textarea: {
name: "description",
label: "Description",
Expand Down
Loading

0 comments on commit dade607

Please sign in to comment.