1
0
Fork 0

Property extend wizard field class

Dieser Commit ist enthalten in:
Angus McLeod 2020-04-29 12:28:57 +10:00
Ursprung 857a159d0c
Commit 1f10a9e4f3

Datei anzeigen

@ -10,15 +10,12 @@ module CustomWizardFieldExtension
:content
def initialize(attrs)
super
@attrs = attrs || {}
@id = attrs[:id]
@type = attrs[:type]
@required = !!attrs[:required]
@description = attrs[:description]
@image = attrs[:image]
@key = attrs[:key]
@min_length = attrs[:min_length]
@value = attrs[:value]
@file_types = attrs[:file_types]
@limit = attrs[:limit]
@property = attrs[:property]