Skip to content

Commit

Permalink
Merge pull request #311 from intermediateengineering/feature/color-input
Browse files Browse the repository at this point in the history
Add Color input
  • Loading branch information
aesmail authored May 29, 2024
2 parents d864ea1 + 30be962 commit 314fedb
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 314fedb

Please sign in to comment.