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

Get-UDElement throws js error clientside #1364

Closed
wsl2001 opened this issue Dec 10, 2019 · 0 comments
Closed

Get-UDElement throws js error clientside #1364

wsl2001 opened this issue Dec 10, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@wsl2001
Copy link

wsl2001 commented Dec 10, 2019

Describe the Issue

Using Get-UDElement throws clientside js error:
"SyntaxError: Unexpected end of JSON input
at fetch-service.jsx:50"

Tested on custom component and ud-textbox.

To Reproduce

New-UDTextbox -Id "stuffbox" -Label "Type"

New-UDButton -text "GetTheElement" -OnClick {
show-udtoast ((Get-UDElement -Id "stuffbox").Attributes.value)
}

Expected behavior

Errorless clientside

Screenshots

Error above

Version Information

Win2019 1903:
5.1:
2.7 Community:
**PowerShell.)
Issue also present at IIS installation on UD 2.5

Additional context

The function works, the data is passed, but the client shows errors in transit.

@wsl2001 wsl2001 added the bug Something isn't working label Dec 10, 2019
@adamdriscoll adamdriscoll added this to the 2.8.0 milestone Dec 10, 2019
adamdriscoll added a commit that referenced this issue Dec 11, 2019
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