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

UPDATE: ContactInput, NEW: Asterisk at label #337

Merged
merged 1 commit into from
Sep 7, 2018

Conversation

tomashapl
Copy link
Contributor

This Pull Request meets the following criteria:

  • Tests have been added/adjusted for my new feature
  • New Components are registered in index.js of my project

@tomashapl tomashapl force-pushed the support-formlabel-in-prefix branch 3 times, most recently from 9e28d09 to 395cfda Compare September 5, 2018 12:51
@tomashapl tomashapl changed the title WIP: CompactInput UPDATE: CompactInput Sep 5, 2018
@tomashapl tomashapl force-pushed the support-formlabel-in-prefix branch 4 times, most recently from e952ab3 to 39a81cd Compare September 6, 2018 10:50
@tomashapl tomashapl changed the title UPDATE: CompactInput NEW: ContactInput, Asterisk Sep 6, 2018
@tomashapl tomashapl changed the title NEW: ContactInput, Asterisk UPDATE: ContactInput, NEW: Asterisk at label Sep 6, 2018
Copy link
Contributor

@vepor vepor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just this question 👍

@@ -4,6 +4,7 @@ export type Props = {
children: React$Node,
filled?: boolean,
disabled?: boolean,
required?: boolean,
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be typing for FormLabel strict too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not necessary, Why do you need this ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because when someone will import FormLabel when needed to use compact InputField, then it's necessary to be strict in flow type, otherwise the person will be able to pass eg. className.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if someone want to use FormLabel they should read documentation firstly how to use. If there will be more questions about this, we can update, so for now it is OK.

@tomashapl tomashapl force-pushed the support-formlabel-in-prefix branch 6 times, most recently from bb78172 to b3002aa Compare September 6, 2018 12:08
@vepor vepor force-pushed the support-formlabel-in-prefix branch from b3002aa to 1689086 Compare September 7, 2018 15:30
@vepor vepor merged commit c718e27 into master Sep 7, 2018
@vepor vepor deleted the support-formlabel-in-prefix branch September 7, 2018 15:57
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