Defect #1844
closedBoolean select on automatic role rule detail doesn't work (EAV form)
90%
Description
While I want select EAV attribute on automatic role rule detail and I select boolean select eav attribute error appears into console or detail. Please could you check this form behind this detail?
Error while I have only one eav attribute:
Error from console:
Uncaught TypeError: Cannot read property 'toString' of undefined at t.value (app.js:225193) at t.value (app.js:224163) at t.value (app.js:225209) at t.value (app.js:224422) at d._renderValidatedComponentWithoutOwnerOrContext (app.js:173201) at d._renderValidatedComponent (app.js:173224) at d.performInitialMount (app.js:172764) at d.mountComponent (app.js:172660) at Object.mountComponent (app.js:178877) at Object.updateChildren (app.js:172304)
Temporary workaround, set boolean checkbox instead of boolean selecbox:
Affected version: 9.7.5,9.7.3
Files
Updated by Radek Tomiška over 5 years ago
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- Priority changed from Normal to Low
- Target version set to Rhyolite (9.7.7)
- % Done changed from 0 to 90
I improved usage of eav form renderers outside eav form component (used in automatic roles in standard abstract form component):
- value can be undefined now
- input validations are called (for required usage)
- focus is implemented (when validation fails)
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/f12e5ccf4c1f2cdc39bce777aed7fb96f49ae583
Could you do a feedback, please?
Updated by Vít Švanda over 5 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
I did review, works correctly. Thanks for that.
Updated by Radek Tomiška about 5 years ago
- Status changed from Resolved to Closed