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

Fields are changed just by accessing them #1

Closed
p3t3r opened this issue Dec 4, 2020 · 2 comments
Closed

Fields are changed just by accessing them #1

p3t3r opened this issue Dec 4, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@p3t3r
Copy link

p3t3r commented Dec 4, 2020

The autonumeric changes fields if you enter them.
Meaning I just click in the fields, change nothing and when I navigate away from the page, it gives a warning of unsaved changes.

@grlicaa grlicaa self-assigned this Dec 6, 2020
@grlicaa grlicaa added the bug Something isn't working label Dec 6, 2020
@grlicaa
Copy link
Owner

grlicaa commented Dec 6, 2020

Hi @p3t3r,

thank you for changing this one, I reproduced error and like documentation says for function
apex.item("NAME").isChanged() :

If this function does not work correctly then changes to the plug-in item type value will not be detect and the user will not be warned when they leave the page.

So to fix this I've added additional code on APEX page item :

isChanged:function() {
    return (this.node.defaultValue != this.getValue());
},

This will be fixed with next version 4.6.0.3 probably in next few days.

@grlicaa
Copy link
Owner

grlicaa commented Dec 6, 2020

Fixed 4.6.0.3 is out, closing this error. Please let me know if you got any other errors.

@grlicaa grlicaa closed this as completed Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants