rails_admin_selectize 2.0.4 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c3541ca0b1836d616ab390bb96ff67a0bae199cdc580c7fbe42f87237fdad5c
4
- data.tar.gz: c99b3e15f232bbfb2045e484479ecdfd2dd417a6a16e29c58e5a15d3b6dd9152
3
+ metadata.gz: 3a12e447434109a1bd9aa025f5f2c9c35fedf0e733b3c50e4654acf14f5ad2c0
4
+ data.tar.gz: 0c2ad72b5dcb9564cecb24aac6b114182548ac798433223fca71e79eeb634790
5
5
  SHA512:
6
- metadata.gz: 96f3b220f8c47806788649551c02fc38c14ebcf86c84760e483396bb75c647e2ad3ea650e19c9f6804fd1ba7d6b8116123ad55d9f1e1fcfaed9e3e6b902a691d
7
- data.tar.gz: f408979912808693f56701ce6840733ef26dc245092b2766b44909572cebd62a6f1112fe895d578c98d4150689e0340ef636874a02b6fd0244e891afcaf97bef
6
+ metadata.gz: 12689a4ca04737ce5f9ca159440feb00dc923a9860bb3b7bbb2b5bf815b9398002514e347392b6aecd365baed9382a97ea2d3bb3883e899f776289594b3eccba
7
+ data.tar.gz: 2f7b2428d00b89c5188a26853397c1a5ea9931047dd2a498af17f28086e5970bcbf99b027955a4009ecd0371b03f7333b87e614b252d7b535a258a6772bcac36
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  - selected_ids = (hdv = field.form_default_value).nil? ? selected_ids : hdv
32
- = form.select field.method_name, collection, { selected: selected_ids, object: form.object }, field.html_attributes.reverse_merge({data: { selectize: true, options: js_data.to_json }, multiple: true, style: 'width:25.5em', class: "form-control pull-left"})
32
+ = form.select field.method_name, collection, { selected: selected_ids, object: form.object }, field.html_attributes.reverse_merge({data: { selectize: true, options: js_data.to_json }, multiple: true, style: "max-width: max-content", class: "form-control pull-left"})
33
33
 
34
34
  - if authorized?(:new, config.abstract_model) && field.inline_add
35
35
  - path_hash = { model_name: config.abstract_model.to_param, modal: true }
@@ -1,3 +1,4 @@
1
1
  module RailsAdminSelectize
2
- VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
2
+ # VERSION = "#{`git describe --tags $(git rev-list --tags --max-count=1)`}"
3
+ VERSION = "2.0.6"
3
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_selectize
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-03 00:00:00.000000000 Z
11
+ date: 2021-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails