on 01-12-2012 1:48 PM
Hello
I have created a UI-element of type ObjectValueSelector.
It works fine.
Currently it is possible to enter values with keyboard, which are not in list of OVS (F4-help).
It should not be possible to save these values.
How can I do this?
Regards
Kay
Hi Kay,
If you have a an OVS for a field then i expect when you give values not in the list the following happens:
1) once you type the wrong value via the key board -> it shows 'No search results' in the dropdown area.
2) but once you click on any field or on Save button, the framework puts a Red box on the field with an error and this should stop any further processing.
3) Could you set the 'Requires Roundtrip' flag to true UI Designer Data model feild property, to immediately see this effect once the focus is shifted out of the OVS.
Regards,
Nitesh Pai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nitesh for your quick response.
I have the same expectation as you.
I mean this should work without further implementation.
In UI designer, I have checked and changed the flag 'requires roundtrip' . But it does not change the situation.
there is no Red box!! I can Save wrong values without any problems ;-(
Maybe i have to report an incident?
Regards,
Kay Kressner
Hi Kay,
I was wrong with my commnet, the OVS is used technically as a suggest feature, to Query an object and show possible values persisted. It has a suggestion semantic not a Validation semantic. If you need it to Validate , then this has to be implemented by you in the After-Modify.
Sorry for the confusion.
Regards,
Nitesh pai
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.