Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConstrainedInput isn't excluding base properties #986

Closed
maier49 opened this issue Dec 23, 2019 · 0 comments · Fixed by #987
Closed

ConstrainedInput isn't excluding base properties #986

maier49 opened this issue Dec 23, 2019 · 0 comments · Fixed by #987
Assignees
Labels

Comments

@maier49
Copy link
Contributor

maier49 commented Dec 23, 2019

**Bug **

The constrained input is currently just extending the TextInputProperties interface directly as the exclude statement its using isn't structured properly to actually remove any properties.
Package Version:

Code

extends Exclude<
		TextInputProperties,
		'onValidate' | 'valid' | 'helperText' | 'customValidator'
	> {

Expected behavior:
The interface should exclude the listed properties

Actual behavior:
It doesn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant