react-available-times icon indicating copy to clipboard operation
react-available-times copied to clipboard

Possibility to disable deleting elements already in the calendar

Open ChuchoPV opened this issue 6 years ago • 4 comments

Hey. I am using it with firebase saving the data and obtaining data when enter to the calendar. Te problem is that I want to disable to delete this preloaded elements in the calendar. There's any possibility to do this?

ChuchoPV avatar Mar 11 '19 18:03 ChuchoPV

Hi! I'm not sure I'm following here. 🙂 What elements are being deleted? Can you share some code that demonstrates how you use the component?

trotzig avatar Mar 11 '19 21:03 trotzig

The question is if it is possible to delete or avoid to show this element (The one in blue):

Screen Shot 2019-03-11 at 3 40 06 PM

I just want to know if its's possible to avoid deleting an element in the calendar

ChuchoPV avatar Mar 11 '19 21:03 ChuchoPV

Ah, I see - thanks! Right now I don’t think you can precent deletion. But I’d be happy to accept a PR making this change! On Mon, 11 Mar 2019 at 22:44, CPV [email protected] wrote:

The question is if it is possible to delete or avoid to paper this element (The one in blue):

[image: Screen Shot 2019-03-11 at 3 40 06 PM] https://user-images.githubusercontent.com/20933458/54160076-33c39080-4414-11e9-8693-e7cecf52f9a9.png

I just want to know if its's possible to avoid deleting an element in the calendar

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/trotzig/react-available-times/issues/13#issuecomment-471743790, or mute the thread https://github.com/notifications/unsubscribe-auth/AAjS5ek7LWWnDuH6hCs0mycaPjTQYcSNks5vVs5UgaJpZM4bpRvx .

trotzig avatar Mar 11 '19 21:03 trotzig

I wil try. I need to be honest and I don't know how to do it, but I'm going to try and when I got it I'll send a pull request. Thanks!

ChuchoPV avatar Mar 11 '19 21:03 ChuchoPV