Actions
Defect #2190
closedRead only on form doesn't work properly - AbstractFrom
Start date:
04/06/2020
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
AbstractForm incorrectly show change of readOnly. This occures only if components of a form are rendered dynamicaly.
Workaround: Use readOnly on all componets in the form and remove direct readOnly property form the form.
Related issues
Updated by Vít Švanda over 4 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
By my investigation is problem nearby here (sort and setStat(keys)):
if (!(_.isEqual(componentsKeys ? componentsKeys.sort() : [], newComponentKeys.sort()))) { this.setState({componentsKeys: newComponentKeys}, () => { this.setData(nextProps.data); }); }
Updated by Vít Švanda over 4 years ago
- Related to Task #2105: Dynamic form for identities added
Updated by Vít Švanda over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 10 to 90
Fixed. Problem was in a sort of array. Immutuable copy solved the problem.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/bdc889f9237666301bea2e1add08433a9a98560f
Updated by Radek Tomiška over 4 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
It's awesome, it work in my UC too, thx!
Actions