Package io.micronaut.views.fields.render
Class FormElementRendererConfigurationProperties
java.lang.Object
io.micronaut.views.fields.render.FormElementRendererConfigurationProperties
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
,FormElementRendererConfiguration
@Internal
@ConfigurationProperties("micronaut.views.form-element.render")
public class FormElementRendererConfigurationProperties
extends Object
implements FormElementRendererConfiguration
ConfigurationProperties
implementation of FormElementRendererConfiguration
.- Since:
- 4.1.0
- Author:
- Sergio del Amo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
The default enable value.static final String
The prefix for form element rendering. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Enabled getter.void
setEnabled
(boolean enabled) Whether form element rendering is enabled.
-
Field Details
-
PREFIX
The prefix for form element rendering.- See Also:
-
DEFAULT_ENABLED
public static final boolean DEFAULT_ENABLEDThe default enable value.- See Also:
-
-
Constructor Details
-
FormElementRendererConfigurationProperties
public FormElementRendererConfigurationProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Enabled getter.- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
- Returns:
- boolean flag indicating whether
FormElementRenderer
is enabled.
-
setEnabled
public void setEnabled(boolean enabled) Whether form element rendering is enabled. Default value (true).- Parameters:
enabled
- True if they are
-