Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
feat(select): Adding support for disabled and selected options - fron…
Browse files Browse the repository at this point in the history
…t-1590 (#556)

* fix(select): Handling default value - front-1590

* fix(select): Extra attributes for options - front-1590

* feat(select): Limiting attributes for options to selected and disabled - front-1590

* feat(select): Updating component to 2.33.0 - front-1590

* feeat(select): Removing useless code from adapter - front-1590

* feat(select): Adding knobs to demo the new available props - front-1590
  • Loading branch information
planctus authored Sep 18, 2020
1 parent 77a4361 commit 1ef10c8
Show file tree
Hide file tree
Showing 7 changed files with 218 additions and 127 deletions.
4 changes: 3 additions & 1 deletion src/ec/packages/ec-component-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ npm install --save @ecl-twig/ec-component-select
- **"options"** (array) (default: []):
- "value" (string) (default: '')
- "label" (string) (default: '')
- "selected" (boolean) (default: false)
- "disabled" (boolean) (default: false)
- **"disabled"** (boolean) (default: false)
- **"invalid"** (boolean) (default: false)
- **"required"** (boolean) (default: false)
Expand All @@ -27,7 +29,7 @@ npm install --save @ecl-twig/ec-component-select
- **"extra_attributes"** (optional) (array) (default: []) Extra attributes
- "name" (string) Attribute name, eg. 'data-test'
- "value" (string) Attribute value, eg: 'data-test-1'
- **"\_compliance"** (boolean) (default: false)
- **"\_compliance\_"** (boolean) (default: false)

### Blocks:

Expand Down
Loading

0 comments on commit 1ef10c8

Please sign in to comment.