mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#4966 Options value editing - Text input
This commit is contained in:
parent
87317d0cd1
commit
6f0486adaf
@ -396,4 +396,5 @@ return [
|
||||
'page' => 'Page',
|
||||
'undefined_page' => 'Undefined Page',
|
||||
'id' => 'ID',
|
||||
'custom_field' => 'Custom Field',
|
||||
];
|
||||
|
||||
@ -25,7 +25,7 @@ class OptionConfigurationFormFields
|
||||
|
||||
foreach ($options as $option)
|
||||
{
|
||||
if($optionValue = $productoptionsValueRepository->getWithOptionsId([$option->id]))
|
||||
if($productoptionsValueRepository->getWithOptionsId([$option->id]))
|
||||
{
|
||||
$options_fields['option-'.$option->getId()] = [
|
||||
'type' => 'anomaly.field_type.select',
|
||||
@ -44,7 +44,7 @@ class OptionConfigurationFormFields
|
||||
'type' => 'anomaly.field_type.text',
|
||||
'class' => 'form-control product-custom-fields',
|
||||
'required' => false,
|
||||
'label' => 'Custom',
|
||||
'label' => trans('visiosoft.module.advs::field.custom_field'),
|
||||
];
|
||||
|
||||
$fields = array_merge($options_fields, ['price', 'currency', 'stock']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user