Hi,
if I add required="true" to my input field it does not work.
I thought the following input should be validated correct (after #11).
Unfortunately it does not work:
working:
<Label text="Old style" required="true" />
<Input value="{
path : '/text',
type : 'sap.ui.model.type.String',
constraints : {
minLength : 3,
maxLength : 10
}
}"
/>
not working:
<Label text="length and required" required="true" />
<Input value="{
path : '/text2',
type : 'sap.ui.model.type.String',
constraints : {
minLength : 3,
maxLength : 10
}
}"
required="true" />
<Label text="only required" required="true" />
<Input value="{
path : '/text3'
}"
required="true" />

see http://plnkr.co/edit/nj3kFKSFjtkZElQMi69m?p=preview
Any suggestions?
Thanks
Hi,
if I add required="true" to my input field it does not work.
I thought the following input should be validated correct (after #11).
Unfortunately it does not work:
working:
not working:
see http://plnkr.co/edit/nj3kFKSFjtkZElQMi69m?p=preview
Any suggestions?
Thanks