xrutayisire / react-js-cron

A React cron editor built with antd
https://xrutayisire.github.io/react-js-cron/?path=/docs/reactjs-cron--demo
MIT License
247 stars 106 forks source link

[antd: Select] `showArrow` is deprecated #60

Closed vugardadalov closed 1 year ago

vugardadalov commented 1 year ago

Describe the bug In the latest antd version showArrow prop of Select component is deprecated.

To Reproduce

import { Cron } from 'react-js-cron';

import 'react-js-cron/dist/styles.css';

function Cronn() {
  const setValue = (val) => {
    console.log('Cron val', val);
  };
  return <Cron value="0 0 * * THU" setValue={setValue} />;
}

export default Cronn;

Screenshots image

CodeSandbox A CodeSandbox link with the bug.

Versions (please complete the following information):

nurlanmamedov commented 1 year ago

I got same issue.

xrutayisire commented 1 year ago

Hi,

Thank you for the issue. I will fix this in a new version, but no bug, since it's only a warning. It will be a blocker for the new major version, but it's not scheduled soon.

I don't have time at the moment, but at the end of the month, beginning of October I will take care of that. In the meantime, it's only a warning without any bugs.

vugardadalov commented 1 year ago

Thanks for attention. Waiting for... ))

xrutayisire commented 1 year ago

Doing that today yes 😉

xrutayisire commented 1 year ago

v5.0.0 released with the fix 🚀