Description
Auto-labels are somewhat disconnected from FormComponent they are bound to in the sense that:
- You can modify the form component (e.g. if it is required) and update that component via AJAX and
- Autolabel will stay with a stale state: i.e. still with the required CSS class
This should be fixed with
https://github.com/apache/wicket/pull/812
This PR introduces:
- a new tag wicket:auto='true|false' that allows to set some auto label as updatable always that form component is updated (via AJAX or web socket request).
- a new boolean flag on markup-settings that allows to set this new behavior as application default. By default, the flag is set to false thus that applications keep existing behavior.