Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1850 - Fix reactive forms #1853

Merged
merged 3 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# What's New with Enterprise Web Components

## 1.0.0-beta.21

### 1.0.0-beta.21 Fixes

- `[Dropdown]` Fixed incorrect form values in reactive forms. ([#1850](https://github.com/infor-design/enterprise-wc/issues/1850))

## 1.0.0-beta.20

### 1.0.0-beta.20 Breaking Changes
Expand Down
6 changes: 3 additions & 3 deletions src/mixins/ids-form-input-mixin/ids-form-input-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const IdsFormInputMixin = <T extends Constraints>(superclass: T) => class extend

this.formInput?.dispatchEvent?.(new CustomEvent('change', {
bubbles: true,
composed: false,
composed: true,
detail: {
elem: this,
value: processedValue,
Expand Down Expand Up @@ -115,7 +115,7 @@ const IdsFormInputMixin = <T extends Constraints>(superclass: T) => class extend

this.triggerEvent(`change.${this.name ?? 'ids-form-input-mixin'}`, this, {
bubbles: true,
composed: false,
composed: true,
detail: {
elem: this,
value,
Expand All @@ -141,7 +141,7 @@ const IdsFormInputMixin = <T extends Constraints>(superclass: T) => class extend

this.triggerEvent(`input.${this.name ?? 'ids-form-input-mixin'}`, this, {
bubbles: true,
composed: false,
composed: true,
detail: {
elem: this,
value,
Expand Down
Loading