You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
componentDidMount = () => {
console.log('Loading Test Data');
this.myForm.reset({
task: 'Sample Task',
});
};
render() {
return (
<Formsy.Form
ref={(el) => { this.myForm = el; }}
>
<FormsyText
name="task"
floatingLabelText="Type to add a new task"
/>
</Formsy.Form>
);
}
The field doesn't visually update, but the _value in the formsy react state is correctly set to "Sample Task". Is this is bug or am I doing it wrong? If I'm doing things correctly then there may be a problem with the reset(value) functionality.
The text was updated successfully, but these errors were encountered:
Ya i pulled formsey out of my project. It fights with the component state
and the redux state too much. My form is too complexe for a general
library like formsey. Sorry for the no helpy. :/
In my code,
The field doesn't visually update, but the _value in the formsy react state is correctly set to "Sample Task". Is this is bug or am I doing it wrong? If I'm doing things correctly then there may be a problem with the reset(value) functionality.
The text was updated successfully, but these errors were encountered: