react-admin
react-admin copied to clipboard
A frontend Framework for building data-driven applications running on top of REST/GraphQL APIs, using TypeScript, React and Material Design
## Problem - Disabled and re-enabled fields did not update their dirty state, causing validation to run after they have been re-enabled. Related issues: Closes #10156 Closes #9870 ## Solution...
## Problem With the latest version of react-hook-form (7.53.0 at the time of writing), `useFormGroup` no longer returns validation errors correctly. This causes issues such as the TabbedForm Tab header...
## Problem Implementing access control in react-admin components (e.g. showing/hiding datagrid columns of buttons depending on the user permissions) is hard because it's not built-in. It's doable by wrapping components...
**What you were expecting:** When using a form input that is conditionally enabled/disabled by a switch: - Changing the input's value triggers validation and marks the field as dirty (i.e.,...
Hi everyone, Using react-admin (tried both 4.16.0 and 5.1.2 version). I have a form that tries to save a form with 2 fields: name and profession using simple TextInputs. When...
This is my setting for the element: ``` const [choices, setChoices] = useState([]); { const newCategoryName = prompt("Example: 2 - Assets"); const split = newCategoryName.split("-"); // ["2 ", " Assets"]...
**What you were expecting:** When parsing on an input field fails, the value in the shadow element of an input is also removed. **What happened instead:** When parsing on an...
## Problem Currently `useInput` is generating erroneous warnings when using `ArrayInput` with `TextInput` without source. The source is provided by `useWrappedSource` ``` ``` ## Solution Change conditional check to finalSource...
I use react-admin of version 5.0.5 and Windows 11, when I run "npm init react-admin test-admin" as described in the tutorial, cli does not show any options, but when I...
**What you were expecting:** In the CRM demo, when I save a deal, I expect the show view to update with the new data in optimistic mode. **What happened instead:**...