Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dropdown): only submit value ones
Browse files Browse the repository at this point in the history
hirsch88 committed Jan 31, 2025
1 parent f1e0e33 commit c9f7aa0
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-planes-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@baloise/ds-core': patch
---

**dropdown**: only submit value ones
1 change: 0 additions & 1 deletion packages/core/src/components/bal-dropdown/bal-dropdown.tsx
Original file line number Diff line number Diff line change
@@ -513,7 +513,6 @@ export class Dropdown
></DropdownValue>
</span>
<DropdownInput
name={this.name}
inputId={this.inputId}
httpFormSubmit={this.httpFormSubmit}
ariaForm={this.ariaForm}
3 changes: 0 additions & 3 deletions packages/core/src/utils/dropdown/input.tsx
Original file line number Diff line number Diff line change
@@ -7,7 +7,6 @@ import { BalLanguage } from '../config'
import { Attributes } from '../attributes'

export interface DropdownInputProps {
name: string
inputId: string
httpFormSubmit: boolean
ariaForm: BalAriaForm
@@ -30,7 +29,6 @@ export interface DropdownInputProps {
}

export const DropdownInput: FunctionalComponent<DropdownInputProps> = ({
name,
inputId,
httpFormSubmit,
ariaForm,
@@ -63,7 +61,6 @@ export const DropdownInput: FunctionalComponent<DropdownInputProps> = ({
size={1}
inputmode="none"
tabindex="0"
name={name}
autoComplete={autocomplete}
value={rawValue.join(',')}
required={required}

0 comments on commit c9f7aa0

Please sign in to comment.