Skip to content
Merged
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
**Bug fixes**

- Fixed `EuiInMemoryTable`'s `onTableChange` callback not returning the correct `sort.field` value on pagination ([#5588](https://github.com/elastic/eui/pull/5588))
- Fixed `EuiFilePicker` allowing files to be removed when `disabled` ([#5603](https://github.com/elastic/eui/pull/5603))

## [`46.2.0`](https://github.com/elastic/eui/tree/v46.2.0)

Expand Down
2 changes: 1 addition & 1 deletion src/components/form/file_picker/file_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class EuiFilePicker extends Component<EuiFilePickerProps> {
clearButton = (
<EuiLoadingSpinner className="euiFilePicker__loadingSpinner" />
);
} else if (isOverridingInitialPrompt) {
} else if (isOverridingInitialPrompt && !disabled) {
if (normalFormControl) {
clearButton = (
<button
Expand Down