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

Microsoft Edge - Object doesn't support property or method 'updateTextFields' #265

Closed
itfranck opened this issue Jul 12, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@itfranck
Copy link
Contributor

commented Jul 12, 2018

This specific message
Object doesn't support property or method 'updateTextFields' is shown

From all the tested browsers (Microsoft Edge / Firefox / Chrome / IE ), only Microsoft Edge did produce the issue at this time.

Sample to reproduce the issue.

Import-Module universaldashboard
Get-UDDashboard | Stop-UDDashboard
$dasg = New-UDDashboard -Content {
New-UDCard -Title 'test' -Content {
    New-UDTextbox -Placeholder 'hey' -Label 'hello' 
    
    }
} -Title 'aa'

Start-UDDashboard -Name 'dd' -Dashboard $dasg -Port 8082

@adamdriscoll adamdriscoll added the bug label Jul 17, 2018

@adamdriscoll adamdriscoll added this to the 2.0.0 milestone Aug 8, 2018

@adamdriscoll

This comment has been minimized.

Copy link
Member

commented Aug 8, 2018

@itfranck Can you try to repro this on the latest beta? I can't seem to get it to go.

@adamdriscoll

This comment has been minimized.

@itfranck

This comment has been minimized.

Copy link
Contributor Author

commented Aug 11, 2018

It does it.
However, when I load the page, it loads fine.
If I it refresh, then it shows immediately.

Additionally, I replaced the New-UDTextbox line by :
New-UDTextbox -Placeholder "hey UD V$((get-module | where Name -EQ UniversalDashboard).Version.ToString())" -Label 'hello'

and now it does it every single time.
Maybe you want to replace that line to see if it changes something.

https://i.imgur.com/GYkvZ4K.gif

Microsoft Edge 42.17134.1.0
Microsoft EdgeHTML 17.17134
With latest UniversalDashboard Beta 2

-------------- Console log

HTML1300: Navigation occurred.
home (1,1)

HTML1500: Tag cannot be self-closing. Use an explicit closing tag.
home (8,5)

HTML1521: Unexpected "/body>" or end of file. All open elements should be closed before the end of the document.
home (9,84)

Information: Normalizing '/dashboardhub' to 'http://localhost:8082/dashboardhub'

TypeError: Object doesn't support property or method 'updateTextFields'

Information: WebSocket connected to ws://localhost:8082/dashboardhub?id=0166d909-55cf-4a7c-b4cc-488c5d16d05d

Information: Using HubProtocol 'json'.

Unhandled promise rejection Error: Cannot send data if the connection is not in the 'Connected' State

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.