Skip to content

PR no3#4

Open
askuric wants to merge 5 commits into
geekuillaume:mainfrom
askuric:pr
Open

PR no3#4
askuric wants to merge 5 commits into
geekuillaume:mainfrom
askuric:pr

Conversation

@askuric
Copy link
Copy Markdown

@askuric askuric commented Dec 20, 2022

description in #3

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 20, 2022

Deploy Preview for effulgent-dango-24c01f ready!

Name Link
🔨 Latest commit 1e3877e
🔍 Latest deploy log https://app.netlify.com/sites/effulgent-dango-24c01f/deploys/63a20383a8c51a00094c9617
😎 Deploy Preview https://deploy-preview-4--effulgent-dango-24c01f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

const getCheckboxValue = (id:string) => {
var element = document.getElementById(id) as HTMLInputElement | null;
if (element == null) return "0";
else return element.checked ? "1" : "0";
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@askuric
Saw ur note in the closed issue about the value lagging behind,
questions, in ur previous attempt with the onChange event, were you reading e.target.value or e.target.checked ?
you should use the latter, and if that doesn't work then im not sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants