react-native-paper-dates icon indicating copy to clipboard operation
react-native-paper-dates copied to clipboard

DatePickerInput ~ setModalVisible exposition in ref

Open Izocel opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. No bug, but very usefull feature.

Describe the solution you'd like Could you guys expose the modal visibily in the inputs ref ?

  function setModalVisible(value:boolean = false) {
    setVisible(value);
    return value;
  }

  React.useImperativeHandle(ref, () => ({
    setModalVisible
  }));

Izocel avatar Jun 03 '24 13:06 Izocel

PRs are welcome!

iM-GeeKy avatar Jun 03 '24 20:06 iM-GeeKy

Hey! Thanks for opening the issue. Can you provide more information about the issue? Please fill the issue template when opening the issue without deleting any section. We need all the information we can, to be able to help. Make sure to at least provide - Current behaviour, Expected behaviour, A way to reproduce the issue with minimal code (link to snack.expo.dev) or a repo on GitHub, and the information about your environment (such as the platform of the device, versions of all the packages etc.).

github-actions[bot] avatar Jun 03 '24 20:06 github-actions[bot]

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.

github-actions[bot] avatar Jul 04 '24 02:07 github-actions[bot]