Skip to content

Commit

Permalink
Add prop to Quantity widget dropdown
Browse files Browse the repository at this point in the history
Setting `popMatchSelectWidth` to  `false` allows dropdown to match
options' width
  • Loading branch information
alexlipovka committed Jan 21, 2025
1 parent 77f5840 commit f57a008
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export function QuestionQuantity(props: QuestionItemProps) {
onChange={onUnitChange}
style={{ minWidth: 70 }}
disabled={disabled}
popupMatchSelectWidth={false}
>
{unitOption.map((option) => (
<Select.Option key={option.code} value={option.display}>
Expand Down

0 comments on commit f57a008

Please sign in to comment.