UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

13 lines 438 B
import messages from '../common/localization/validation-en.js'; import { getGroup } from './utils.js'; export const radioValidators = [ { key: 'valueMissing', message: messages.required, isValid: (host) => { const { radios, checked } = getGroup(host); return radios.some((radio) => radio.required) ? checked.length > 0 : true; }, }, ]; //# sourceMappingURL=validators.js.map