Skip to main content
nicholasf4944
Participating Frequently
July 23, 2024
Question

Validation not working for Multiple Dropdown component

  • July 23, 2024
  • 4 replies
  • 0 views

Hello, 

I am having trouble getting validations to show up using a multiple dropdown component.

When I pass in "Show Validation" for validations, nothing is shown on the component.

When I do this for a dropdown component, it works as expected: My message is displayed with red text underneath the component.

How can I show validations underneath the multiple dropdown component?

Thank you, 
Nicholas

    4 replies

    konduruc733182
    July 23, 2024

    Most of the time validations work when the value is evaluated and this happens only when the value is not null. Here have you defined the value/saveinto params of the component? if not please define those and retry.

    nicholasf4944
    Participating Frequently
    July 23, 2024

    Interesting, when I enter a value it does display the validation message. 

    Is there any documentation explaining this behavior or why it does not require a value for the single dropdown?

    Thank you!

    konduruc733182
    July 23, 2024

    Its basically mentioned in all places that validations work when the value is not null.


    "Validation errors to display below the field when the value is not null." - Drop down component and it is same in all validation parameters of all applicable components.