Skip to content

Element Types in props were ignored#30

Open
jaulz wants to merge 1 commit into
kjanoudi:masterfrom
jaulz:patch-3
Open

Element Types in props were ignored#30
jaulz wants to merge 1 commit into
kjanoudi:masterfrom
jaulz:patch-3

Conversation

@jaulz

@jaulz jaulz commented Sep 13, 2016

Copy link
Copy Markdown
Contributor

No description provided.

@rawgroundbeef

rawgroundbeef commented Sep 13, 2016

Copy link
Copy Markdown
Collaborator

I think we were looking to deprecate the elementTypes prop. Either use the is prop on the Input element or provide that in joifulReactForms context object.

@jaulz

jaulz commented Sep 13, 2016

Copy link
Copy Markdown
Contributor Author

@bentatum Just for future reference: how do you plan to implement custom elementTypes then? Only by context?

@rawgroundbeef

Copy link
Copy Markdown
Collaborator

You can do it in context or directly on the is prop.

And I think next version we want to move to a higher order component pattern.

@rawgroundbeef

Copy link
Copy Markdown
Collaborator

I would accept a PR removing elementTypes 😃

@rawgroundbeef

Copy link
Copy Markdown
Collaborator

Thanks again for the contributions. We're both really busy, but we use this package quite a bit. It definitely needs more love.

@jaulz

jaulz commented Sep 14, 2016

Copy link
Copy Markdown
Contributor Author

Okay, I will check that as well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants