We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, when using less than the default number of headers, an error occurs when setting an initial Cron value:
Error Value does not match any available headers.
import React from "react"; import Cron from "react-cron-generator"; import "react-cron-generator/dist/cron-builder.css"; import { HEADER } from "react-cron-generator"; export default function App() { const [val, setVal] = React.useState("0 0 00 ? * TUE,THU,SAT *"); const options = { headers: [HEADER.DAILY, HEADER.WEEKLY, HEADER.MONTHLY] }; return ( <div> <Cron onChange={setVal} value={val} showResultText={true} showResultCron={true} options={options} /> </div> ); }
The text was updated successfully, but these errors were encountered:
Thanks @Nathan-Limbik I have found the issue I will try to fix the issue today itself
Sorry, something went wrong.
#38 selected tab logic fix for optional headers
19fcbaf
The issue is fixed in the latest cron generator version Version: 1.3.6
Merge pull request #1 from sojinantony01/master
f887253
sojinantony01#38 selected tab logic fix for optional headers
sojinantony01
No branches or pull requests
Hi, when using less than the default number of headers, an error occurs when setting an initial Cron value:
Error
Value does not match any available headers.
The text was updated successfully, but these errors were encountered: