simple_form_extension 1.4.12 → 1.4.13

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
  SHA1:
3
- metadata.gz: 3ee78875b306aa61abd1a4d7a499b5f397765540
4
- data.tar.gz: c818e22a01be1a8e196669384299988fd2e20358
3
+ metadata.gz: aac73f237dfc8bac456897daf05dd5eb282d420a
4
+ data.tar.gz: 928635754fcfd96c69568d3dbfccfd2658e4ca78
5
5
  SHA512:
6
- metadata.gz: 11ea4f1095f91a8acab41fde82f06225a3927c0763ccb2db3cd613fe5a0ea05007eca76541015ea7328bfdfae61071a9175f758cc558b1ac76bae7e6d3adf225
7
- data.tar.gz: 56990bc1e57b7bba72b7534c763567fa876b576cbb53b6f2a3502c838e4e493ba841c3a20dff99b6e9e1d88fe402bfe3f3131f12174b2617f343b4aea92678c3
6
+ metadata.gz: ff760983ecb1951c49f735d51e6f571e5e403d919abf73ff1442b2e8408683d315b9965efa61d081f7786a03fd917b5eeee7fd45130f8b3a8b2dfdd29f686ae8
7
+ data.tar.gz: 1291832db2ac16393cecb063d21637fedab51fcfce9e2153a6521067b224f3f593403696aec4e35a7299748e4d786b92a480ec14efa1fb97ca56cd93699b8264
@@ -1,3 +1,3 @@
1
1
  module SimpleFormExtension
2
- VERSION = "1.4.12"
2
+ VERSION = "1.4.13"
3
3
  end
@@ -23,6 +23,13 @@ class Selectize
23
23
  if (value = @$el.data('value'))
24
24
  @initializeValue(value)
25
25
 
26
+ # Fix for newest version of selectize that keeps the hidden input field
27
+ # instead of converting it to a text field when we call it on a hidden
28
+ # input.
29
+ @$el.next('.selectize-control')
30
+ .find('.selectize-input input[type="hidden"]')
31
+ .attr('type', 'text')
32
+
26
33
  initializeValue: (data) ->
27
34
  if @single
28
35
  @el.selectize.addOption(data)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.12
4
+ version: 1.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glyph-fr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-27 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails