Skip to content

Commit

Permalink
fix baserproject#1654 メールフィールド 区切り文字が20文字以内では、classなどがつけられない問題を解決
Browse files Browse the repository at this point in the history
  • Loading branch information
kato committed Mar 1, 2021
1 parent 7b22ec7 commit 39b57bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Baser/Plugin/Mail/Config/Schema/mail_fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function after($event = [])
'maxlength' => ['type' => 'integer', 'null' => true, 'default' => null],
'options' => ['type' => 'string', 'null' => true, 'default' => null],
'class' => ['type' => 'string', 'null' => true, 'default' => null],
'separator' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 20],
'separator' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 255],
'default_value' => ['type' => 'string', 'null' => true, 'default' => null],
'description' => ['type' => 'string', 'null' => true, 'default' => null],
'group_field' => ['type' => 'string', 'null' => true, 'default' => null],
Expand Down
4 changes: 2 additions & 2 deletions lib/Baser/Plugin/Mail/Model/MailField.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ public function __construct($id = false, $table = null, $ds = null)
],
'separator' => [
[
'rule' => ['maxLength', 20],
'message' => __d('baser', '区切り文字は20文字以内で入力してください。')
'rule' => ['maxLength', 255],
'message' => __d('baser', '区切り文字は255文字以内で入力してください。')
]
],
'default_value' => [
Expand Down

0 comments on commit 39b57bb

Please sign in to comment.