当前位置:网站首页>Laravel admin obtains non auto increment ID and submits hidden forms
Laravel admin obtains non auto increment ID and submits hidden forms
2022-06-26 11:06:00 【siner. li】
stay laravel Get non auto increment in ID
Model Of $incrementing The default is true
When we use non self augmentation ID when , Will be used by default int
Add... To the model
public $incrementing = false;
The problem is solved
Non integer primary key , Need to add
protected $keyType = 'string';
Submit hidden form
// Set hidden fields
$form->ignore(['title']);
$form->saving(function () {
// Get all form information
$date = request()->all();
dd($date);
});
边栏推荐
- sysbench基础介绍
- 服务器单、双向可调一键互信脚本!
- Bit operation n & (n-1), leetcode231, interview question 05.06
- Win10 start FTP service and set login authentication
- 【深度学习理论】(6) 循环神经网络 RNN
- Fabric. JS upper dash, middle dash (strikethrough), underline
- Search engine advanced search method records
- 9、 Beautify tables, forms, and hyperlinks
- Vscode environment setup: synchronous configuration
- Notes - simple but adequate series_ KVM quick start
猜你喜欢

10年程序员职业生涯感悟—写给正在迷茫的你
![[work details] March 18, 2020](/img/24/a72230daac08e7ec5bd57df08071f8.jpg)
[work details] March 18, 2020
![Installing MySQL under Linux [details]](/img/38/77be56c3ef3923ce4c4e5df4a96f41.png)
Installing MySQL under Linux [details]

redux相关用法

(Typora图床)阿里云oss搭建图床+Picgo上传图片详细教程

Redis knowledge mind map

Concise course of probability theory and statistics in engineering mathematics second edition review outline
![[deep learning theory] (7) long and short term memory network LSTM](/img/fb/57781998390e0722df68e6c2e49098.gif)
[deep learning theory] (7) long and short term memory network LSTM

Easyexcel - Excel read / write tool

Getting started with postman
随机推荐
OpenCV图像处理-灰度处理
Cereals Mall - Distributed Advanced
Moore vote, leetcode169, leetcode229
02-Redis数据结构之链表
9、 Beautify tables, forms, and hyperlinks
【软件项目管理】期末复习知识点整理
MySQL Performance Monitoring and SQL statements
24 个必须掌握的数据库面试问题!
CEPH operation and maintenance common instructions
指南针软件买股票进行交易安全吗?怎么开户买股票
laravel-admin 非自增ID获取, 及提交隐藏表单
Huawei secoclient reports an error "accept return code timeout" [svn adapter v1.0 exclamation point]
Tape library simple record 1
Idea remote debugger
机器学习SVM——实验报告
一键部署ceph脚本
SQL index learning notes
目前为止最全的Kubernetes最新版核心命令
【深度学习理论】(7) 长短时记忆网络 LSTM
Is it safe for compass software to buy stocks for trading? How to open an account to buy shares