Package io.jmix.ui.component
Interface HasConversionErrorMessage
- All Known Subinterfaces:
CurrencyField<V>
,ResizableTextArea<V>
,TextArea<V>
,TextField<V>
- All Known Implementing Classes:
AbstractTextArea
,CurrencyFieldImpl
,ResizableTextAreaImpl
,TextAreaImpl
,TextFieldImpl
public interface HasConversionErrorMessage
Component annotated by this interface enables to configure custom error message
when conversion to specified datatype fails.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setConversionErrorMessage
(String conversionErrorMessage) Sets custom conversion error message that is used when value doesn't correspond to datatype.
-
Method Details
-
setConversionErrorMessage
@StudioProperty(type=LOCALIZED_STRING) void setConversionErrorMessage(@Nullable String conversionErrorMessage) Sets custom conversion error message that is used when value doesn't correspond to datatype.- Parameters:
conversionErrorMessage
- custom conversion error message
-
getConversionErrorMessage
- Returns:
- custom conversion error message
-