# oe-input

> oeCloud implemenetation of paper-input with additional behaviors

Latest version **2.3.0** (published 2020-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install oe-input
pnpm add oe-input
yarn add oe-input
bun add oe-input
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2020-10-07 |
| First published | 2019-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 471.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | vamsee147 |

## Links

- npm: https://www.npmjs.com/package/oe-input
- Repository: https://github.com/EdgeVerve/oe-input
- Homepage: https://github.com/EdgeVerve/oe-input#readme
- Issues: https://github.com/EdgeVerve/oe-input/issues
- npm.io page: https://npm.io/package/oe-input

## Dependencies (11)

- [oe-combo](https://npm.io/package/oe-combo.md) ^2.0.0
- [oe-utils](https://npm.io/package/oe-utils.md) ^2.0.0
- [oe-mixins](https://npm.io/package/oe-mixins.md) ^2.0.0
- [oe-i18n-msg](https://npm.io/package/oe-i18n-msg.md) ^2.0.0
- [@polymer/polymer](https://npm.io/package/@polymer/polymer.md) ^3.1.0
- [@polymer/iron-image](https://npm.io/package/@polymer/iron-image.md) ^3.0.1
- [@polymer/paper-input](https://npm.io/package/@polymer/paper-input.md) ^3.0.1
- [@polymer/paper-button](https://npm.io/package/@polymer/paper-button.md) ^3.0.1
- [@polymer/paper-tooltip](https://npm.io/package/@polymer/paper-tooltip.md) ^3.0.1
- [@polymer/paper-icon-button](https://npm.io/package/@polymer/paper-icon-button.md) ^3.0.2
- [@polymer/iron-validator-behavior](https://npm.io/package/@polymer/iron-validator-behavior.md) ^3.0.1

## Recent versions

- 2.3.0 (latest) — 2020-10-07
- 2.2.0 — 2020-05-04
- 2.1.0 — 2020-01-02
- 2.0.0 — 2019-03-13

## README

# \<oe-input\>

`<oe-input>` is a control for text input based on Polymer's `paper-input` control with following additional features.

  1. control level validations
  2. model-level/cross-field validations. When any UI control is placed on the form, the control needs to be 'aware' of 'which property' on the model it is bound to. This is required specially since, many times two or more controls take part in deciding the model validity. (cross-field-validations)
  3. support internationalization of labels and error-messages out of box.
  4. `oe-input` adds a little red-asterisk if the field is 'required'.

```html
    <oe-input required field-id="accountName" label="Account Name"></oe-input>
```

This repo also consists of the following components
* oe-input
* oe-decimal
* oe-input-masked
* oe-json-input
* oe-textarea

### oe-decimal
`<oe-decimal>` is a control for capturing number inputs. In addition to `<oe-input>`, it supports handling of decimal display, parsing and formatting.

### oe-input-masked

`<oe-input-masked>` is a control for capturing text input based on `oe-input`control with following additional features.

  1. mask the each char with a specified char, based on a RegExp pattern
  2. mask the each matched pattern with a specified string, based on a RegExp pattern
  3. add specified number of mask char(s) at the end of the specified input.

### oe-json-input

`<oe-json-input>` is a control for multiline text input based on Polymer's `paper-textarea` control with following additional features.

  1. control level validations
  2. model-level/cross-field validations. When any UI control is placed on the form, the control needs to be 'aware' of 'which property' on the model it is bound to. This is required specially since, many times two or more controls take part in deciding the model validity. (cross-field-validations)
  3. support internationalization of labels and error-messages out of box.
  4. `oe-json-input` adds a little red-asterisk if the field is 'required'.


### oe-textarea

`<oe-textarea>` is a control for multiline text input based on Polymer's `paper-textarea` control with following additional features.

  1. control level validations
  2. model-level/cross-field validations. When any UI control is placed on the form, the control needs to be 'aware' of 'which property' on the model it is bound to. This is required specially since, many times two or more controls take part in deciding the model validity. (cross-field-validations)
  3. support internationalization of labels and error-messages out of box.
  4. `oe-textarea` adds a little red-asterisk if the field is 'required'.

```html
    <oe-textarea required field-id="accountName" label="Account Name"></oe-textarea>
```

---
_Source: https://npm.io/package/oe-input · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
