cancel
Showing results for 
Search instead for 
Did you mean: 

Field with ObectValueSelector

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

NiteshPai
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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

NiteshPai
Product and Topic Expert
Product and Topic Expert
0 Kudos

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