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

[AiLab] fix layout and id bugs in autogenerated continuous feature input fields #39134

Merged
merged 1 commit into from Feb 19, 2021

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Feb 18, 2021

Fixes for a couple of problems in autogenerated code and design elements for continuous features:

1.) The getText code for continuous features was referencing "undefined" rather than the correct element id. To fix I assigned the element id to a variable and correctly passed that variable to the code that generates getText.

2.) The generated input boxes were all stacked in the top left corner rather than aligned correctly in the layout of the screen. To fix, I needed to pass x and y coordinates to the createElement function for those input fields.

BEFORE:
Screen Shot 2021-02-18 at 11 11 19 AM

AFTER:
Screen Shot 2021-02-18 at 11 26 14 AM

@Erin007 Erin007 merged commit 65827aa into staging Feb 19, 2021
@Erin007 Erin007 deleted the ml-continuous-bugs branch February 19, 2021 17:09
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.

None yet

2 participants