npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@apollogic/ui5-validator

v1.0.2

Published

SAP UI5 validator for common user input controls

Downloads

9

Readme

UI5 Validator

UI5 Validator created by Apollogic

Description

Validation library for basic SAP UI5 user input controls.

List of supported controls:

  • sap.m.Input
  • sap.m.DatePicker
  • sap.m.ComboBox
  • sap.m.TextArea
  • sap.m.DateRangeSelection
  • sap.m.DateTimePicker
  • sap.m.MaskInput
  • sap.m.TimePicker
  • sap.m.MultiComboBox
  • sap.m.MultiInput
  • sap.m.StepInput
  • sap.m.RadioButtonGroup - only with custom data
  • sap.m.CheckBox - only with custom data

Installation

npm i @apollogic/ui5-validator --save-dev

Sample use

To see simplified UI5 example online, visit https://jsfiddle.net/t97e8xfd/1/

To download sample UI5 application, visit https://github.com/ApollogicGithub/UI5-Validator-Sample-App

Usage

  1. Import validator in UI5 controller:

sap.ui.define([ '@apollogic/ui5-validator' ], function (Validator) { "use strict"; });

  1. Validate

Validator.validate(oView, customControlNames) - validate all controls in specified view/part of the view. Optionally add custom control names if needed

Validator.validateControl(oControl) - check single control

Supported UI5 versions

  • 1.121
  • 1.120
  • 1.117
  • 1.114
  • 1.108
  • 1.96
  • 1.84
  • 1.71