Skip to content

Commit

Permalink
fix(color-picker):修复ColorPicker透传SelectInputProps无效问题
Browse files Browse the repository at this point in the history
  • Loading branch information
taninsist committed Aug 24, 2024
1 parent 959742c commit f8cd440
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/color-picker/panel/format/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Select as TSelect, Option as TOption } from '../../../select';
import { Input as TInput } from '../../../input';
import FormatInputs from './inputs';
import { useBaseClassName } from '../../hooks';
import type { TdSelectInputProps } from '../../../select-input/type';

export default defineComponent({
name: 'FormatPanel',
Expand Down Expand Up @@ -77,6 +78,7 @@ export default defineComponent({
{...selectInputProps}
popupProps={{
overlayClassName: `${baseClassName}__select-options`,
...(selectInputProps as TdSelectInputProps).popupProps,
}}
v-model={this.formatModel}
onChange={handleModeChange}
Expand Down

0 comments on commit f8cd440

Please sign in to comment.