Join Discord
Powered by
How to pass variable to disable dates at datepicke...
# 🤝help
m
millions-football-388
04/23/2024, 6:58 AM
Hey guys. I'm working with Botpress v12 and developing an appointment system for my bot. I'm using the date-picker.tgz module archive from this link
https://github.com/botpress/solutions/tree/master/custom%20modules/date-picker
. And now I'm facing some problems. I need to dynamically pass dates (already booked appointments) to disable them in the datepicker. However, in this module, I see only one way: to hardcode them in the "Advanced tab > Additional configuration" (1st image). The question I need help with is how to pass some variables (for example, dates array) at "Additional configuration", or maby other way. Like if we add some node card with text, at the input field, we could add a variable(2nd image). Is there a solution for this module, or how could I customize the module to accept variables in the "Additional configuration" field?
https://cdn.discordapp.com/attachments/1232224142078644285/1232224142473035786/image.png?ex=6628ada9&is=66275c29&hm=98916d427c861ecb3fd58a1142dd4c36f2f3de7513d9cf9b7ddad6e510d3fa50&
https://cdn.discordapp.com/attachments/1232224142078644285/1232224142766374963/image.png?ex=6628ada9&is=66275c29&hm=8b3350de2270f3082f9fa7a18d697bc40730f4d458ae4523483e8f071eb879fa&
j
jolly-policeman-82775
04/23/2024, 7:00 AM
Hello
jolly-policeman-82775
04/23/2024, 7:01 AM
V12 questions goes to the
#1112845893931110402
channel
Previous
Next