I think I figured out what the issue is, but iām not good enough at React to solve it, so maybe could use some guidance here!
I think the issue is that the Input.js file only handles āvaluesā and not if āchecked or not checkedā as checkboxes use checked instead of value to handle showing if theyāve been checked or not.
Thus Iām making the following changes to this:
Line 18:
Then lastly, I think I have to add some logic to detect a checked vs a value entered in index.js, mirroring this code on line 57, though how, I am not sure
state.cf7.forms[ id ].inputVals[ inputName ] = value;
}
if anyone else could help guide me through this, itād be awesome
Is anyone willing to provide any help with this? Sorry, itās just somewhat critical for my project and Iām not 100% certain which direction to take.
Hey @min, Iām really sorry about this. Weāre going to talk with @imranhsayed to see how we can unblock this situation because as he is not going to be able to work on this for the next 3 months, maybe we can take over the development. Weāll let you know.
Thank you! Please keep me posted! I want to help as well but there are a lot of things I donāt fully understand about how the plugin works so I need some help
I have talked with Imran and he agreed so we are going to take over the development. Iāll talk with the team this week to see how we can proceed with this.
I made a quick code for my current project which works good for my needs.
I think it will be a good start to take it and generalize it instead of starting from scratch.
Weāre going to take over the development of the package, but to be honest, itās going to take some time as we need to move it to our repo, move it to TypeScript, add end to end test to check everything works fine, add the lack functionalityā¦ We want it to be fully reliable, and we think this is the best approach. Apart from that, we have tons of things in our roadmap, although we know the Contact Form 7 is really important.
Until we develop it, I would recommend you to move the current package from node_modules to local packages (as there arenāt going to be more versions), and take control over the code. You can share it with us and weāll take a deep look at it.
@modyydom Could you share with us the code that works for your needs to check it out and see if it can help @min too please??
By the way, in order to move it from node_modules to local packages you just have to move the frontity-contact-form-7 package folder to your-project/packages and update your package.json file dependencies to point to your local folder instead of the last version. Something like waht weāre doing with @frontity/mars-theme:
I have to report that we havenāt made any progress on this so far, so our current recommendation is still to follow @SantosGuillamotās instructions to fork the package yourself: