Hello Bindu,
The *required functionality for the IgxSelect was introduced in version 7.3.8 (see details).
In case you want to use it, you have to upgrade to at least v7.3.8. Additionally, in case you are OK to hit several breaking changes from v7 to v8 both in Angular and Ignite UI for Angular, you can always go for the latest available v8.1.2 as well.
Hi Ivaylo,
This is from my package,json
Hello,
What is the exact igniteui-angular version you are using in your application? You will find it specified in the project’s package.json file. The required * is included in v7.3.x so any post version includes the required * functionality.
For reference: https://github.com/IgniteUI/igniteui-angular/pull/4916/files
Hello Ivaylo,
Here is what I did. I copy pasted your code in my project hoping I would start with working code snippet.But I didn't work again. Next thing I did was to create a separate test component and just copy pasted .ts n html code parts from your example. Both the tries everything works except that little required *.
I'm cross checked all imports in ts n app.module.ts. I've found no way to recreate this problem to show you. I suggest you to explore this further as to what dependency might be causing this now that we both tried with same code.
I have modified the sample my colleague Radoslav already shared with you, in order to reflect a simplified version of your code snippet. As it seems you are using a Reactive Form, it needs to specify the Form's Validators. You can see the code sample at: https://stackblitz.com/edit/igxselect-required-gosho.
Please let me know how it works for you and in case you have further questions, feel free to modify the above sample, so I am aware of your actual code implementation.