Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions packages/pluggableWidgets/dropdown-sort-web/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- We fixed React console warnings from uncontrolled input elements.

## [3.4.0] - 2025-10-01

### Fixed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useOnClickOutside } from "@mendix/widget-plugin-hooks/useOnClickOutside";
import { usePositionObserver } from "@mendix/widget-plugin-hooks/usePositionObserver";
import classNames from "classnames";
import { CSSProperties, ReactElement, useCallback, useRef, useState } from "react";
import { createPortal } from "react-dom";
import { useOnClickOutside } from "@mendix/widget-plugin-hooks/useOnClickOutside";
import { usePositionObserver } from "@mendix/widget-plugin-hooks/usePositionObserver";

interface SortComponentProps<Dir = "asc" | "desc"> {
className?: string;
Expand Down Expand Up @@ -105,7 +105,7 @@ export function SortComponent(props: SortComponentProps): ReactElement {
>
<div className="dropdown-triggerer-wrapper">
<input
value={props.value ? selected?.caption : ""}
value={selected?.caption ?? ""}
placeholder={props.placeholder}
className="form-control dropdown-triggerer"
onClick={containerClick}
Expand Down
Loading