Socket
Socket
Sign inDemoInstall

angular-formly-templates-vanilla

Package Overview
Dependencies
2
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

bower.json
{
"name": "angular-formly-templates-vanilla",
"version": "3.0.0",
"version": "3.0.1",
"authors": [

@@ -5,0 +5,0 @@ "Astrism <astrisms@gmail.com>"

@@ -1,2 +0,2 @@

// "formlyVanilla" version 3.0.0 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)
// "formlyVanilla" version 3.0.1 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò)
(function (root, factory) {

@@ -3,0 +3,0 @@ if (typeof define === 'function' && define.amd) {

{
"name": "angular-formly-templates-vanilla",
"version": "3.0.0",
"version": "3.0.1",
"author": "Astrism <astrisms@gmail.com>",

@@ -5,0 +5,0 @@ "contributors": [

@@ -7,22 +7,7 @@ [![Build Status](https://travis-ci.org/formly-js/angular-formly.svg)](https://travis-ci.org/formly-js/angular-formly)

Example text field:
```html
<div>
<label for="{{id}}">
{{options.label || 'Text'}}
{{options.required ? '*' : ''}}
</label>
<input type="text"
id="{{id}}"
formly-dynamic-name="options.key"
formly-custom-validation="options.validators"
placeholder="{{options.placeholder}}"
aria-describedby="{{id}}_description"
ng-required="options.required"
ng-disabled="options.disabled"
ng-model="result[options.key || index]">
<p id="{{id}}_description" ng-if="options.description">{{options.description}}</p>
</div>
```
### NOTICE: UPGRADING FROM 2.0 to 3.0?
There were some [significant changes](https://github.com/formly-js/angular-formly/blob/master/CHANGELOG.md) that you'll want to be aware of. In order to upgrade and get all the cool features, you're going to need to change your field configurations. [Here is a tool](http://jsbin.com/ruwoke) that should help make that process easier. Also, if you are not able to update the configuration very easily, see [this issue](https://github.com/formly-js/angular-formly/issues/162) for ideas on how to ease things a little.
### Demo http://formly-js.github.io/angular-formly

@@ -267,30 +252,2 @@

---
#### Number form field
>The number field allows input that is restricted to numbers. Browsers also provide minimal ui to increase and decrease the current value.
##### default (number, optional)
##### min (number, optional)
>`min` sets minimum acceptable value for the input.
##### max (number, optional)
>`max` sets maximum acceptable value for the input.
_Example number field_
```json
{
"key": "love",
"type": "number",
"templateOptions": {
"label": "How much love?",
"min": 0,
"max": 100,
"required": true
}
}
```
## Contributing

@@ -297,0 +254,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc