question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property update request for disabled element warning when calling setEnabled(false)

See original GitHub issue

Tested with Vaadin 13.0.3

With this relative simple example:

@Route("")
public class MainView extends VerticalLayout {
    private TextField disabledTextField;
	public MainView() {
		disabledTextField = new TextField();
		disabledTextField.setEnabled(false);
		add(disabledTextField);
    }
}

Just by entering the application we get this warning in the log:

[qtp1326230282-42] WARN com.vaadin.flow.server.communication.rpc.MapSyncRpcHandler - Property update request for disabled element is received from the client side. The property is 'invalid'. Request is ignored.

Is that right?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

9reactions
Brauscommented, Feb 4, 2020

Hi this is still a thing. Any progress sinds 5 April 2019?

1reaction
Legiothcommented, Apr 5, 2019

I don’t think there should be warning message in the logs for completely legitimate use patterns.

Read more comments on GitHub >

github_iconTop Results From Across the Web

com.vaadin.flow.server.communication.rpc. ...
MapSyncRpcHandler] (default task-23) Property update request for disabled element is received from the client side. The property is 'value'.
Read more >
What does this warning mean in Vaadin: "Ignoring RPC ...
The warning you are seeing means, that there is an RPC request (HTTP request from the client-side) that is targeted for a disabled...
Read more >
Disabling Form Controls When Working With Reactive ...
You can enable/disable a form control by using the following ways: Instantiate a new FormControl with the disabled property set to true.
Read more >
Binding Functions and Enable/Disable State in HTML ...
In your component's constructor, go ahead and define the isDisabled state with an initial value of false . This tells the user that...
Read more >
QWidget Class | Qt Widgets 6.4.1
Warning : Use this property with caution in conjunction with Qt Style Sheets. ... If your widget needs to know when it becomes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found