Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

When updating, private button only gives 'null' #55

Open
abbb1399 opened this issue Mar 19, 2021 · 3 comments
Open

When updating, private button only gives 'null' #55

abbb1399 opened this issue Mar 19, 2021 · 3 comments
Labels
Bug Something isn't working

Comments

@abbb1399
Copy link

abbb1399 commented Mar 19, 2021

Version

toast-ui/vue-calendar: 1.1.1

Test Environment

Chrome,Window10, Vue CLI

Current Behavior

// Write example code
 
updateSchedule (e) {
      console.log(e)
      const { schedule, changes } = e
      // Chainging private status by clicking lock button only gives 'null'.   
      // Expected behavior was giving true or false value.
      console.log(changes)    // null

      this.$refs.tuiCal.invoke('updateSchedule', schedule.id, schedule.calendarId, changes)
    }

image

Even if the button clicked and changed, 'changes' only gives null.

Expected Behavior

What i want to do is updating private value on the detail popup. but 'changes' doesn't react to lock button(only gives null).

@abbb1399 abbb1399 changed the title When updating, private button dosen't give any values When updating, private button only gives 'null' Mar 19, 2021
@jungeun-cho jungeun-cho added the Bug Something isn't working label Mar 22, 2021
@jungeun-cho
Copy link
Contributor

The behavior for the default popup isPrivate attribute is awkward.
This should be corrected.
I'll fix it.

@abbb1399
Copy link
Author

abbb1399 commented Mar 22, 2021

Thank you for your help, as always :)

@jungeun-cho
Copy link
Contributor

duplicate #52

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants