0
<Label required="true" text="Vorname"/>
<Input enabled="true" fieldGroupIds="Patient" id="Vorname" liveChange="_validateSaveEnablement" name="Vorname" valueLiveUpdate="true"
value="{
path : 'Vorname',
type : 'sap.ui.model.odata.type.String' ,
constraints : {
minLength : 2,
maxLength : 29
}
}"/>
看来minLength
将无法正常工作。该字段是必需的,但仍然接受空值。我做错了什么?检查用户输入:minLength
...谢谢。它现在有效。 – corax228