dwyl / dwyl/autoform

Input types

Open
#4 1 comment 1 reaction 0 assignees View on GitHub
help wanted question
Dominant language
Elixir
Stars
21
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We currently have a number of input types working:

Based on Ecto Types:
- `:string` - text input
- `:integer`, `:float`, `:decimal` - number input
- `:boolean` - checkbox
- `:date` - generates three select inputs - year, month, day
- `:time` - generates two select inputs - hour, minute
- `:utc_datetime`, `naive_datetime` - combines `:date` and `:time` inputs

Based on field name:
- `:email` - email input
- `:password` - password input
- `:url` - url input
- `:search` - search input

Any other name/types will generate a text input.

Are there any other basic types we want to cover? Are any of these incorrect/do any have a better input type?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.