New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-dynamic-fields

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-dynamic-fields

Ember addon that creates multiple form fields of the same type

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Weekly downloads
 
Created
Source

ember-dynamic-fields

This ember-addon was developed to allow dynamically adding multiple form fields. For example, if you want to enter multiple phone numbers for the user.

Installation

npm install git+https://git@github.com/marxsk/ember-dynamic-fields.git

Integration

This package was tested with:

  • <input ... >
  • ember-power-select-multiple
  • ember-form-for
  • ember-changeset

Usage

{{#dynamic-fields dataObject=data as |record index dynamicUpdate|}}
  <span id={{index}}>
    <input
        value={{record}}
        oninput={{action dynamicUpdate '' index}}
    />
  </span>
{{/dynamic-fields}}

The '' is there just to add an empty argument that is ignored but ember-power-select offers value at the third position and this was the easiest way to fix it.

Keywords

FAQs

Package last updated on 09 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc