Skip to content

Commit 634a1f5

Browse files
committed
Merge branch 'develop'
2 parents 76f52ca + 5b2d54f commit 634a1f5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/cells/plugins/core/text_cell.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ def render_label
4242
end
4343

4444
def render_input
45-
@options[:form].text_field 'data[text]', value: value, placeholder: @options[:placeholder], class: 'mdl-textfield__input', required: required?
45+
@options[:form].text_field 'data[text]', value: value, placeholder: @options[:placeholder], class: 'mdl-textfield__input', data: { required: required? }
4646
end
4747

4848
def render_wysiwyg
49-
@options[:form].text_area 'data[text]', value: value, class: "#{input_classes} wysiwyg_ckeditor", style: input_styles, required: required?
49+
@options[:form].text_area 'data[text]', value: value, class: "#{input_classes} wysiwyg_ckeditor", style: input_styles, data: { required: required? }
5050
end
5151

5252
def render_multiline_input
53-
@options[:form].text_area 'data[text]', value: value , placeholder: @options[:placeholder], rows: input_display&.[](:rows) , class: 'mdl-textfield__input', required: required?
53+
@options[:form].text_area 'data[text]', value: value , placeholder: @options[:placeholder], rows: input_display&.[](:rows) , class: 'mdl-textfield__input', data: { required: required? }
5454
end
5555
end
5656
end

lib/cortex/plugins/core/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Cortex
22
module Plugins
33
module Core
4-
VERSION = '0.11.2'
4+
VERSION = '0.11.3'
55
end
66
end
77
end

0 commit comments

Comments
 (0)