1. 使用 withMeta:
KeyValue::make('options') ->withMeta([ 'value' => $this->options ?? [ 'A' => '', 'B' => '' ] ])
2. 或者给模型默认值,form 展示时显示出来。
Link:https://www.cnblogs.com/farwish/p/13763973.html