feat: Add emptyText prop to SelectArrayInput#11276
Open
Gdhanush-13 wants to merge 105 commits into
Open
Conversation
This change ensures that custom loading and empty components in DataTable have access to ResourceContext and other standard contexts. Also added comprehensive unit tests for DataTableBase to verify context availability and correct rendering behavior for empty and refreshing states.
…ies.tsx Co-authored-by: Thiery Michel <thiery@marmelab.com>
…missions Limit test workflow token permissions
Escape backslashes in escapePath
…ode-scanning Fix RichTextField code scanning issues
…r-redos Fix `FormDataConsumer` to avoid ReDoS in source detection
…alidation Fix ArrayInput root error display on conditional mount
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash-es dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…rn/lodash-es-4.18.1 Bump lodash-es from 4.17.23 to 4.18.1
[TypeScript] Fix ArrayField doesn't accept a label prop
…rn/systeminformation-5.31.6 Bump systeminformation from 5.31.1 to 5.31.6
…-suggestions Fix(AutocompleteInput): do not open autocomplete options when shouldRenderSuggestions returns false
…dOptions=false Adds a Storybook story to demonstrate and visually verify the fix for the case where re-selecting the same option after partial text deletion should immediately restore the full label without requiring a blur event. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…d via useFormContext's trigger
Bumps [@tootallnate/once](https://github.com/TooTallNate/once) from 2.0.0 to 2.0.1. - [Release notes](https://github.com/TooTallNate/once/releases) - [Changelog](https://github.com/TooTallNate/once/blob/v2.0.1/CHANGELOG.md) - [Commits](TooTallNate/once@2.0.0...v2.0.1) --- updated-dependencies: - dependency-name: "@tootallnate/once" dependency-version: 2.0.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…rn/tootallnate/once-2.0.1 Bump @tootallnate/once from 2.0.0 to 2.0.1
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.6. - [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md) - [Commits](raszi/node-tmp@v0.2.5...v0.2.6) --- updated-dependencies: - dependency-name: tmp dependency-version: 0.2.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…rn/tmp-0.2.6 Bump tmp from 0.2.5 to 0.2.6
Fix(ArrayInput): display validation error when validation is performed via useFormContext's trigger
…rn/astro-6.1.10 Bump astro from 5.18.1 to 6.1.10 and fix docs_headless compatibility
…reselection-update Fix AutoCompleteInput value does not get updated when re-selecting the same option
…contexts Fix `<DataTableBase>` `loading` and `empty` components miss access to data table context
## Problem React-hook-form 7.72 introduced form-level validate (react-hook-form/react-hook-form#13195), which conflicts with react-admin's built-in form-level validation. ## Solution Ignore the new `validate` prop type from react-hook-form
[TypeScript] Fix compilation with react-hook-form 7.72.0
- Add emptyText prop to display custom text when no items selected - Support both string and ReactNode types for emptyText - Add comprehensive tests for emptyText functionality - Add Storybook story demonstrating the feature - Update documentation with usage examples - Addresses issue marmelab#10454 Fixes marmelab#10454
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Absence of the emptyText property in the SelectArrayInput component #10454
Solution
How To Test
Additional Checks
ext for a feature
Fixes #10454