Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alaska-field-relationship

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alaska-field-relationship - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

index.js

@@ -116,4 +116,4 @@ /**

RelationshipField.viewOptions = ['service', 'model', 'multi']
RelationshipField.viewOptions = ['filters', 'service', 'model', 'multi']
module.exports = RelationshipField;

@@ -13,8 +13,6 @@ 'use strict';

var _reactSelect = require('react-select');
var _Select = require('alaska-field-select/lib/Select');
var _reactSelect2 = _interopRequireDefault(_reactSelect);
var _Select2 = _interopRequireDefault(_Select);
require('react-select/dist/react-select.min.css');
var _qs = require('qs');

@@ -72,5 +70,6 @@

model: field.model,
search: keyword
search: keyword,
filters: field.filters
});
_alaskaAdminView.api.post(_alaskaAdminView.PREFIX + '/api/search?' + query).then(function (res) {
_alaskaAdminView.api.post(_alaskaAdminView.PREFIX + '/api/relation?' + query).then(function (res) {
callback(null, { options: res.results });

@@ -116,3 +115,3 @@ }, callback);

{ className: 'col-xs-10' },
_react2.default.createElement(_reactSelect2.default.Async, {
_react2.default.createElement(_Select2.default, {
multi: field.multi,

@@ -119,0 +118,0 @@ value: value,

{
"name": "alaska-field-relationship",
"version": "0.4.0",
"version": "0.4.1",
"description": "Alaska relationship field",

@@ -37,4 +37,4 @@ "main": "index.js",

"dependencies": {
"react-select": "^1.0.0-beta11"
"alaska-field-select": "^0.4.1"
}
}
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