default key value in key-value pair
Hello, I want to add a default value to a key column. Initially, the values are empty, but I want the specification key to be initialized while opening the creation form which is shown in image. Is this possible?"
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1231861144440803400/image.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1231861144637931572/image.png)
2 Replies
can you try
->default(['key' => 'value'])
Thanks