Skip to content

Commit

Permalink
add color input
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschweikert committed May 24, 2024
1 parent d864ea1 commit 30be962
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/kaffy/resource_form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ defmodule Kaffy.ResourceForm do
:select ->
select(form, field, [class: "custom-select"] ++ opts)

:color ->
color_input(form, field, opts)

:date ->
flatpickr_date(form, field, opts)

Expand Down

0 comments on commit 30be962

Please sign in to comment.