跳转至

Input

DisplayOnly

Which is a special display widget, for that will display in table content only but not in edit page.

Text

Common html input with type=text.

Select

Html select.

ForeignKey

Like select but options come from a ForeignKey model.

ManyToMany

Display a multiple select.

Enum

Like select but options come from a enum class.

Email

Html email input.

Json

Display a json editor widget, based on jsoneditor.

TextArea

Html textarea input.

Editor

Based on quilljs, display a rich editor input.

DateTime

Html datetime input.

Date

Html date input.

File

Html file input.

Image

Like file but with image preview.

Radio

Html Radio input.

RadioEnum

Like radio but choices from a enum class.

Switch

Display a switch, useful for bool field.

Password

Html password input.

Number

Html number input.

Color

Html color input.


最后更新: July 7, 2023 09:36:36