nested_form_fields 0.8.1 → 0.8.2

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: 56da1a0f390e6f027abca007ff8e4704ea777e4f
4
- data.tar.gz: 0ab484a12f0baf27c4f9a544493689793b6075dc
3
+ metadata.gz: 140e3dd9582f3e6319350cfa7a3de78e63d59d0c
4
+ data.tar.gz: 5e0fa10e752a49552363556f8fe3d07c9d572450
5
5
  SHA512:
6
- metadata.gz: 8e25a78e217dfc990c4027a37cd09eb87ec142919b92aa71f16274451e4f526513ad71083a00517822877e98364ccc1372b92695c5737e6b140933f6c4627e58
7
- data.tar.gz: 0b9ddcc66ddb5b65120c36e979398af8a8bced4d14aa814a726837aff2738cd21df5a3a28c61fec836309854f8eb064becd6bd4d7b47dac39ecea84765ca095b
6
+ metadata.gz: 67cfd18c6dd9fb29aa022bdc6f14fca48acf06732d4ff27d5e63ee45f7c05e31adb0d17e64b004bf50cbd29fcb822fe7cd6b5ea53d289697cc49108adc166a1e
7
+ data.tar.gz: e2d4acdf28882bfd56fce53789048bdf4630aec4ffa855f7ed33651bc692dc1cf0c0680e99df6dbcc5342823a787e6b020a48de6dcbc5ab96f2886a2b82f3ae6
@@ -51,7 +51,7 @@ nested_form_fields.bind_nested_forms_links = () ->
51
51
  else
52
52
  $nested_fields_container.before "<input type='hidden' name='#{delete_association_field_name}' value='1' />"
53
53
  $nested_fields_container.hide()
54
- $nested_fields_container.find('input[required]:hidden').removeAttr('required')
54
+ $nested_fields_container.find('input[required]:hidden, select[required]:hidden, textarea[required]:hidden').removeAttr('required')
55
55
  $nested_fields_container.trigger("fields_removed.nested_form_fields",{object_class: object_class, delete_association_field_name: delete_association_field_name, removed_index: removed_index});
56
56
  false
57
57
 
@@ -1,3 +1,3 @@
1
1
  module NestedFormFields
2
- VERSION = "0.8.1"
2
+ VERSION = "0.8.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nested_form_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Ritsche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-27 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails