Comments (5)
You're right, #9503 seems to have broken the old behavior, sorry about that.
You can fix it on your side by setting the light and dark themes in the <Admin>
component. As for changing the theme, yes it's possible (you can see an example in the e-commerce demo.
react-admin/examples/demo/src/App.tsx
Lines 45 to 47 in 601a0d6
It is indeed a breaking change and we should fix it in 4.16. However, there is a workaround, passing a theme object in useTheme won't be supported in 5.x, and fixing it in master then backporting the changes to next will break next.
So I'm -1 for fixing this bug.
from react-admin.
heyo, no worries, thx for the quick answer and workaroung
from react-admin.
I think you need to bear in mind that people installing Symfony / api-platform from the docs at present end up with a broken system: https://stackoverflow.com/questions/77840771/error-while-generate-an-admin-interface-using-api-platform-admin-and-react-admin and a component used with just an entrypoint property, as should work, errors out the whole app.
from react-admin.
This seems to be fixed in API Platform v3.4.6, can you confirm?
https://github.com/api-platform/admin/releases/tag/v3.4.6
from react-admin.
I can confirm. Great. Thanks. Please disregard my comment and thanks for fixing it.
from react-admin.
Related Issues (20)
- NumberInput fails to parse not a number input value and which causes input label overlaying non existing value HOT 2
- [CRM Demo] When using modals for show and edit views, the data is not updated in show views
- Documentation search is broken on versions < latest (v5.05) HOT 1
- Nested ArrayInput saves all values to undefined HOT 1
- Running dist code on production not working as expected HOT 3
- notification sent from user account to administrator account react js HOT 4
- rowClick is called automatically HOT 3
- [useTranslatable::getRecordPath] - record with "null" value causes a client error | Edit with <TranslatableInputs> HOT 1
- Running on Next.js 14 with App Router doesn't seem to allow for path based URLs HOT 1
- ArrayInput + SimpleFormIterator no working correctly inside the TranslatableInputs component in React Admin 5.1 HOT 3
- Incorrect index display in PrevNextButtons component on pagination navigation HOT 1
- datagrid rowclick / show row as link to allow right click to open context menu - open in a new tab HOT 1
- Delete with 500 response does not call onError callback HOT 3
- Entity data doesn't get displayed in the `Edit` form due to URI encoding on MacOs HOT 1
- ra-input-rich-text seems to have wrong dependencies HOT 1
- QuickFilter example incomplete/incorrect HOT 1
- Tutorial not working for v5.1.2 with Yarn PnP HOT 2
- Datagrid rows do not appear as clickable, although they are HOT 1
- Disabling and enabling form Inputs breaks their isDirty state HOT 4
- Getting URI malformed when trying to edit record with percentage (%) symbol in. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-admin.