Skip to Content

how to validate duplicate inputs in sap ui5

hi experts,

my requirement is how to validate duplicate input in sap ui5 .

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Aug 30, 2018 at 12:47 PM

    Hi, there's no native way to do that but you need to implement by yourself.

    What you could do is to bind each input to a model property and bind the same method on each change event. In the event implementation you check if every property of the model is equal to the other or not and validate those inputs.

    Add comment
    10|10000 characters needed characters exceeded