baymac / material-ui-cron Goto Github PK
View Code? Open in Web Editor NEWA React cron library using material ui
Home Page: https://baymac.github.io/material-ui-cron/
License: MIT License
A React cron library using material ui
Home Page: https://baymac.github.io/material-ui-cron/
License: MIT License
Describe the bug
@emotion/react @emotion/styled should be added to dependency now that we have moved to material-ui/core-5.0.0-beta.1
To Reproduce
Steps to reproduce the behavior:
yarn add [email protected]
yarn start
Server throws error
./node_modules/@material-ui/styled-engine/index.js
Module not found: Can't resolve '@emotion/react' in '/path/to/dir/test/my-app/node_modules/@material-ui/styled-engine'
Solution
Add @emotion/react @emotion/styled to dependencies list.
Hi, so I have this expression "0 1/4 * * *" that throws an error.
But I see you are using cronstrue package that translates the value correct cronstrue.toString('0 1/4 * * *');
Describe the bug
Introduced in v0.1.0-beta.2
Steps to reproduce
Select hour
period, it still maintains the same state as day
period
Describe the bug
I'm retrieving a cron from a database, and want to update the value of the cron to the value I get from the database.
When the response is retrieved from the database, the values of the component are not updated to the value of the new 'cron' prop.
Steps to reproduce
Demo here: https://codesandbox.io/s/material-ui-cron-stable-forked-5r89pd
Render component with:
const CronGenerator = (props) => {
const [cron, setCron] = useState("30 9 * * 1")
setTimeout(() => setCron("* * * * *"), 2000)
return (
<SchedulerRoot cron={cron}
setCron={updateCron}
setCronError={() => {}}
isAdmin={true}
/>
);
}
The component does not refresh to reflect the new value. I've included a picture to show that the props in React Component profiler are different to that actually displayed.
Note that I'm having to use the SchedulerRoot component due to an error when rendering just the <Scheduler />
component (image of the error below). However, note that in the demo linked at the top of this post, the same problem exists.
Solution (optional)
Additional context (optional)
Describe the bug
Describe the bug
The TypeScript definition (*.d.ts
) files are not included.
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
*Additional context
Url: https://registry.npmjs.org/material-ui-cron/-/material-ui-cron-0.1.0-beta.1.tgz
Describe the bug
Some autocomplete fields e.g. time range doesn't close after re-render.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.