Add support for datetime-local to forms
This commit is contained in:
1 parent
3bee693fa8
commit
2281b6f14d
2 files changed
+14
-3
No files matched your search
@@ -166,6 +166,13 @@ let handle_errors = (response) => {
|
||||
type="number"
|
||||
step="0.1"
|
||||
class="form_input"/>
|
||||
{:else if field.type === "datetime-local"}
|
||||
<input bind:this={field.binding}
|
||||
id="input_{field.name}"
|
||||
name="{field.name}"
|
||||
value="{field.default_value}"
|
||||
type="datetime-local"
|
||||
class="form_input"/>
|
||||
{:else if field.type === "username"}
|
||||
<input bind:this={field.binding}
|
||||
id="input_{field.name}"
|
||||
|
||||
Reference in new issue
Block a user