serialize max length attribute for wizard fields
Dieser Commit ist enthalten in:
Ursprung
f27ca60d24
Commit
5f121215d5
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
|
@ -8,6 +8,7 @@ class CustomWizard::FieldSerializer < ::WizardFieldSerializer
|
|||
:limit,
|
||||
:property,
|
||||
:content,
|
||||
:max_length,
|
||||
:char_counter
|
||||
|
||||
def label
|
||||
|
@ -56,6 +57,10 @@ class CustomWizard::FieldSerializer < ::WizardFieldSerializer
|
|||
object.choices.present?
|
||||
end
|
||||
|
||||
def max_length
|
||||
object.max_length
|
||||
end
|
||||
|
||||
def char_counter
|
||||
object.char_counter
|
||||
end
|
||||
|
|
Laden …
In neuem Issue referenzieren