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

Added LinkedInput addon. #5718

Merged
merged 1 commit into from
Jan 13, 2016
Merged

Added LinkedInput addon. #5718

merged 1 commit into from
Jan 13, 2016

Conversation

jimfb
Copy link
Contributor

@jimfb jimfb commented Dec 22, 2015

Added LinkedInput addon. Goes here until @zpao decides how he wants to package/release it.

@jimfb
Copy link
Contributor Author

jimfb commented Dec 22, 2015

cc @zpao

var newprops = Object.assign({}, this.props);
newprops.value = LinkedValueUtils.getValue(this.props);
newprops.checked = LinkedValueUtils.getChecked(this.props);
newprops.valueLink=undefined;
Copy link
Member

Choose a reason for hiding this comment

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

delete newProps.valueLink (and yes, newProps)

@facebook-github-bot
Copy link

@jimfb updated the pull request.

@jimfb
Copy link
Contributor Author

jimfb commented Jan 12, 2016

Ping @zpao

@zpao
Copy link
Member

zpao commented Jan 13, 2016

sure

@jimfb
Copy link
Contributor Author

jimfb commented Jan 13, 2016

@zpao said:

sure

Are we not using labels anymore?

@@ -0,0 +1,28 @@
/**
* Copyright 2013-2015, Facebook, Inc.

Choose a reason for hiding this comment

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

2016 or present?

@facebook-github-bot
Copy link

@jimfb updated the pull request.

ReactDOM = require('ReactDOM');
});

it('should basically work', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

:) this is my kind of test!

@zpao
Copy link
Member

zpao commented Jan 13, 2016

Are we not using labels anymore?

Lazy, stamping quickly. You know what I meant so let's not get too wrapped up in some official process. If the labels actually had any power, I'd use all the time.

But as others mentioned, just fix the -present bit.

@facebook-github-bot
Copy link

@jimfb updated the pull request.

jimfb added a commit that referenced this pull request Jan 13, 2016
@jimfb jimfb merged commit 7334fec into facebook:master Jan 13, 2016
@gaearon
Copy link
Collaborator

gaearon commented Apr 9, 2017

Has this ever worked? It seems to ignore the change handler on the link.

@gaearon
Copy link
Collaborator

gaearon commented Apr 9, 2017

Fixed this as part of #9385 even though nobody likely ever used this.

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

Successfully merging this pull request may close these issues.

None yet

6 participants