certain EventApi prop getters (like startEditable) be computed?
See original GitHub issueWhen defining the options object when creating a calendar, the property eventStartEditable
is ignored. You need to manually set startEditable
for each Event to drag them around.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to give rendering control to users with prop getters
Render props are awesome, put it together with prop getters and you have an awesome combination to give users of your React components......
Read more >fullcalendar/common/main.js.map - UNPKG
eventDefMemberAdders) {\n __assign(def, memberAdder(refined))\n }\n\n // help out EventApi from having user modify props\n Object.freeze(def.ui.
Read more >Index (jfoenix 1.5.0 API) - Javadoc.io
Converts the node provided into an object defined by the specific converter. fromValueProperty() - Method in class com.jfoenix.transitions.JFXFillTransition.
Read more >Pass data from Vuex getter to component prop - Stack Overflow
You could just map the state directly without the need for a getter. computed: { ...mapState({permissions: state => state.
Read more >https://wbbprimaryeducation.org/BootstrapEnabledSl...
firstChild as HTMLElement\n}\n\nexport function htmlToElements(html: string): ... getComputedStyle(el)\n let borderLeft = parseInt(computedStyle.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed. I was about to raise this myself (see comment end for workaround). My use-case might be different as I am setting
editable
on theEventSource
- although settingstartEditable
on theEventSource
does not seem to work either.If I understand correctly, the EventApi exposes
editable
asstartEditable
anddurationEditable
but when I try to usestartEditable
in an eventOverlap function, for example:it is always
null
, as are all the props exposed from thedef
object.This seems to be a regression since v4-alpha.1
As a workaround, I can access the correct value via
stillEvent.source.internalEventSource.startEditable
Same problem here. We return a list of events some editable: true and others with editable: false. In the eventClick I’m trying to access eventClickInfo.event.editable but the the property does not exists.
I’m searching for a workaround in fullcalendar 5 while these properties are added
Fixed using eventClickInfo.event.startEditable instead of editable.