mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-26 21:20:18 +08:00
Fix json input
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsoneditor@9.4.0/dist/jsoneditor.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsoneditor@9.4.0/dist/jsoneditor.min.css">
|
||||||
<div class="form-label">{{ label }}</div>
|
<div class="form-label">{{ label }}</div>
|
||||||
<div id="{{ name }}" class="form-group mb-3"></div>
|
<div id="{{ name }}" class="form-group mb-3"></div>
|
||||||
<input {% if not null %}required{% endif %} type="text" name="{{ name }}" value="{{ value|safe }}" hidden>
|
<input {% if not null %}required{% endif %} type="text" name="{{ name }}" value='{{ value|safe }}' hidden>
|
||||||
<style>
|
<style>
|
||||||
.jsoneditor {
|
.jsoneditor {
|
||||||
border: 1px solid #dadcde;
|
border: 1px solid #dadcde;
|
||||||
|
Reference in New Issue
Block a user