luid-translations-list

An input that display and edit of a list of values translated in multiple languages.

Features

This directive also inherits from the ng-model controller and can be integrated to forms like any other input. Most directives frequently used conjointly with ng-model are also useable (such as ng-change, ng-required, ng-disabled, etc)

This directive is also designed to be power-user friendly: you can navigate through the values by using the Tab key and add new values with the Enter key. You can also paste values separated by line breaks. Give it a try !

Arguments

Usage

<luid-translations-list ng-model="myTranslatedList"><luid-translations-list>
<luid-translations-list ng-model="myTranslatedList" ng-change="onListChanged()" ng-required="true" mode="lucca" deletion-callback="confirmDeletion()"><luid-translations-list>

Material mode


  ng-model:

{{ luccaTranslations | json }}

Number of times ng-change has been called : {{translationsListChangedCount}}

Compact mode


  ng-model:

{{ luccaTranslations2 | json }}

Number of times ng-change has been called : {{translationsListChangedCount2}}