mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Separate default value from options in member extra vars, too
This commit is contained in:
parent
4b2cc8c9cf
commit
c949e797b0
11 changed files with 92 additions and 44 deletions
|
|
@ -486,7 +486,7 @@ class MemberAdminView extends Member
|
|||
{
|
||||
$extend_form_list = MemberModel::getCombineJoinForm($memberInfo);
|
||||
$security = new Security($extend_form_list);
|
||||
$security->encodeHTML('..column_title', '..description', '..default_value.');
|
||||
$security->encodeHTML('..column_title', '..description', '..default_value', '..options.');
|
||||
|
||||
if ($memberInfo)
|
||||
{
|
||||
|
|
@ -725,6 +725,7 @@ class MemberAdminView extends Member
|
|||
$input->input_id = $extendForm->column_name;
|
||||
$input->value = $extendForm->value ?? '';
|
||||
$input->default = $extendForm->default_value ?? null;
|
||||
$input->options = $extendForm->options ?? null;
|
||||
if ($extendForm->column_type === 'tel' || $extendForm->column_type === 'tel_intl')
|
||||
{
|
||||
$input->style = 'width:33.3px';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue