Date/Time Component Rendering Issue In Prod Build
See original GitHub issueI’m seeing issues with the Data Grid component in a prod build (ng build --prod
) on 1.8.0.
The component renders properly in dev mode (npm start
) locally, but on the server the fields are all being displayed as read only and it looks like the ‘flatpickr’ CSS isn’t being included in the build because a gigantic arrow icon with the classes flatpickr-calendar hasTime animate
is shown at the bottom of the page and there aren’t any flatpickr related styles applied to it.
Let me know if you need any more info on this issue, thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Date/Time Component Rendering Issue In Prod Build #155
I'm seeing issues with the Data Grid component in a prod build (ng build --prod) on 1.8.0. The component renders properly in dev...
Read more >node.js - Material-UI Rendering Bugs in production / build
In my Layout component which has the Appbar, toolbar, navigation drawer, I enclosed the entire rendering code within
Read more >Line Chart x axis labels which are datetime rendering fine ...
Line Chart x axis labels which are date time, rendering fine when running in local but not working in production build(deployed in netlify)....
Read more >Components | Format.JS
Render React elements that seamlessly compose with other React components. Support rich-text string/message formatting in <FormattedMessage> .
Read more >React and Ionic Calendar Date & Time picker Example
React Calendar Date & time picker demo with side-by-side calendar view and time select scroller. With source code.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK, got my build deployed and confirmed that including the CSS directly into my stylesheet via:
@import '../node_modules/angular-formio/formio.component';
Resolved this issue for me. It’s not the most elegant solution, but it works so I’m happy.
This should be fixed in latest version. Please verify if it is not.