'How can validation required ojCombobox? Select New position to be mandatory

     self.NewPositionArray = ko.observableArray([]);
  <td>
                            <input class="employeeNewPosition" required disabled="[[templetDisNewposEffidate]]" style="width: 500px;" data-bind="ojComponent:{
                                        component: 'ojCombobox',
                                        value: NewPosition,options:
                                                            NewPositionArray,disabled:templetDisNewposEffidate}" />
                        </td>

]]" style="width: 500px;" data-bind="ojComponent:{ component: 'ojCombobox', value: NewPosition,options: NewPositionArray,disabled:templetDisNewposEffidate}" />



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source