Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
Property extend wizard field class
Dieser Commit ist enthalten in:
Ursprung
857a159d0c
Commit
1f10a9e4f3
1 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
|
@ -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]
|
||||
|
|
Laden …
In neuem Issue referenzieren