NOTE

You are currently viewing the documentation for Filament 4.x, which is a previous version of Filament.

Looking for the current stable version? Visit the 5.x documentation.

表单

Hidden

简介

Hidden 组件允许你在表单中创建一个持有值的隐藏字段。

use Filament\Forms\Components\Hidden;

Hidden::make('token')

请注意,对于了解如何使用浏览器的开发者工具的用户而言,该值仍然是可编辑的。不要使用该字段去存储敏感信息或者只读信息。

Edit on GitHub

Still need help? Join our Discord community or open a GitHub discussion

Previous
代码编辑器