Project

General

Profile

Bug #2082

Field default value

Added by Gleb Surinov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Core
Target version:
Start date:
March 10, 2015
Due date:
% Done:

100%

Estimated time:

Description

There is a bug when defining fields in install.xml file. Here is a field example:

<field item="autos" name="auto_type" type="combo" group="autos_general" page="autos_view,autos_edit,autos_add" values="new||New,used||Used" default="used" required="1" searchable="1" relation="parent">Condition</field>

default attribute will not work as values are presented in pair (key/value).

History

#1

Updated by Vasily Bezruchkin over 5 years ago

  • Status changed from New to Closed
  • Assignee changed from Batyr Mackenov to Vasily Bezruchkin
  • % Done changed from 0 to 100

Fixed.

Also available in: Atom PDF