Skip to content

Commit 314fedb

Browse files
authored
Merge pull request #311 from intermediateengineering/feature/color-input
Add Color input
2 parents d864ea1 + 30be962 commit 314fedb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/kaffy/resource_form.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@ defmodule Kaffy.ResourceForm do
261261
:select ->
262262
select(form, field, [class: "custom-select"] ++ opts)
263263

264+
:color ->
265+
color_input(form, field, opts)
266+
264267
:date ->
265268
flatpickr_date(form, field, opts)
266269

0 commit comments

Comments
 (0)