
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
md-select-data
Advanced tools
Select component for enums or simple objects, based on the AngularJs Material. This will work perfectly for simple objects and pre-defined options. To use with dynamic data, fetched from an API, you can use the md-select-scroll.
Run the command:
npm i md-select-data --save
Then import the module into the project:
import mdSelectData from 'md-select-data';
angular.module(MODULE_NAME, [
mdSelectData
]);
Just put the directive in the html:
OBS: note that you need to create some functions like format-result and format-select for a specialized behavior.
<md-select-data
format-result="vm.formatResult"
format-selected="vm.formatSelected"
ng-change="ngChange()"
enumOptions="vm.formasPagamento"
ng-model="ngModel"></md-select-data>
You can define the following parameters:
const options = [
{
id: 1,
description: 'Item 1'
},
{
id: 2,
description: 'Item 2'
}
];
It's mandatory to have an id property. The description property can be changed using the
formatSelectedand formatResult functions.
OBS: This component uses md-select, from angular-material, so it's mandatory to have angular-material in your application.
Feel free to contribute or to contact me. :)
FAQs
Select directive for simple objects, based on md-select
The npm package md-select-data receives a total of 4 weekly downloads. As such, md-select-data popularity was classified as not popular.
We found that md-select-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.