fix option select custom field

This commit is contained in:
iBNu Maksum
2024-11-19 18:18:51 +07:00
parent eb970b257a
commit c9778e71b9
3 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@ switch ($action) {
if(!empty($_POST['name'][$n])){
$datas[] = [
'order' => $_POST['order'][$n],
'name' => $_POST['name'][$n],
'name' => Text::alphanumeric(strtolower(str_replace(" ", "_", $_POST['name'][$n])), "_"),
'type' => $_POST['type'][$n],
'placeholder' => $_POST['placeholder'][$n],
'value' => $_POST['value'][$n],