Hi,
I would like to use a "Required option" when using "@Html.ComboFor" helper.
I would like a message displaying when the form is submited and no value is selected in the Combo, something working like the validation of the textEditor when the field is required.
There is no "required" option in the combo helper. So How can I achieve this ?
Thanks.
Hi Nikolay,
I have finally tried another approach but your answer is Valid too ;)
Thanks !
Hi, PEO-Stokomani.
I'm just checking if you were able to resolve your issue. Please don't hesitate to ask me if you have questions.
Best regards,
Nikolay Alipiev
You can use instead the ValidatorOptions wrapper. I hope the code below will help you:
For any further questions about the igCombo you can use the section for the control in our forum. Thank you for using our product!