question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Date/Time Component Rendering Issue In Prod Build

See original GitHub issue

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 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:closed
  • Created 6 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cfsilencecommented, Jan 21, 2018

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.

0reactions
travistcommented, Jul 23, 2018

This should be fixed in latest version. Please verify if it is not.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found