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
When using a multi-select on antd theme. The field renders fine but when a model is given through Autoform and then cleared it gives (pass no / empty model): Uncaught Error: must set key for <rc-animate> children
After debugging, I think this is related to this issue.
Not sure what would be the best fix, but think it should be filtered in the select field.
The text was updated successfully, but these errors were encountered:
Gervwyk
changed the title
uniforms-antd multi-select gives issue on empty string
uniforms-antd multi-select gives issue caused by empty string in array
Feb 16, 2017
When using a multi-select on antd theme. The field renders fine but when a model is given through Autoform and then cleared it gives (pass no / empty model):
Uncaught Error: must set key for <rc-animate> children
After debugging, I think this is related to this issue.
I think that it is cause by this line:
https://github.com/vazco/uniforms/blob/master/packages/uniforms-antd/src/SelectField.js#L52
which should not pass empty string in array.
Not sure what would be the best fix, but think it should be filtered in the select field.
The text was updated successfully, but these errors were encountered: