Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added toggle Render type to interactive builder #349

Closed
wants to merge 4 commits into from

Conversation

Kinotijoan
Copy link
Contributor

No description provided.

Copy link
Contributor

@CynthiaKamau CynthiaKamau left a comment

Choose a reason for hiding this comment

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

Thanks @Kinotijoan , please do the same for the edit-question.modal

@Kinotijoan
Copy link
Contributor Author

Thanks @Kinotijoan , please do the same for the edit-question.modal

Sure, I will

Copy link
Contributor

@NethmiRodrigo NethmiRodrigo left a comment

Choose a reason for hiding this comment

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

Thanks @Kinotijoan! Just some minor corrections related to translation strings

/>
<TextInput
id="lableFalse"
labelText={t('Label false', 'Lable false')}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
labelText={t('Label false', 'Lable false')}
labelText={t('labelFalse', 'Label false')}

<div>
<TextInput
id="lableTrue"
labelText={t('Label true', 'Label true')}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
labelText={t('Label true', 'Label true')}
labelText={t('labelTrue', 'Label true')}

labelText={t('Label false', 'Lable false')}
value={t(toggleLabelFalse || '')}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => setToggleLabelFalse(event.target.value)}
placeholder={t('Off')}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
placeholder={t('Off')}
placeholder={t("off", "Off")}

labelText={t('Label true', 'Label true')}
value={t(toggleLabelTrue || '')}
onChange={(event: React.ChangeEvent<HTMLInputElement>) => setToggleLabelTrue(event.target.value)}
placeholder={t('On')}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
placeholder={t('On')}
placeholder={t("on", "On")}

@NethmiRodrigo
Copy link
Contributor

NethmiRodrigo commented Sep 11, 2024

@Kinotijoan could you please update the PR description with the PR template, it helps the reviewers have more context on the great work you've done 😊

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.

3 participants