Project

General

Profile

Task #839

Updated by Ondřej Kopr about 7 years ago

After create required form definitions type of number, get this error: 

 <pre> 
 [ERROR] { hidden: true, level: 'info' } [Error: Cannot merge type number with another type: string] 
 Error: Cannot merge type number with another type: string 
     at Object.exports.assert (http://localhost:3000/dist/js/app.js:170548:11) 
     at internals.Number.internals.Any.concat (http://localhost:3000/dist/js/app.js:181660:10) 
     at TextField.getValidationDefinition (http://localhost:3000/dist/js/app.js:37573:46) 
     at TextField.getValidationDefinition (http://localhost:3000/dist/js/app.js:46706:106) 
     at TextField._resolveValidation (http://localhost:3000/dist/js/app.js:37547:40) 
     at TextField.componentDidMount (http://localhost:3000/dist/js/app.js:37487:12) 
     at http://localhost:3000/dist/js/app.js:236992:25 
     at measureLifeCyclePerf (http://localhost:3000/dist/js/app.js:236802:12) 
     at http://localhost:3000/dist/js/app.js:236991:11 
     at CallbackQueue.notifyAll (http://localhost:3000/dist/js/app.js:233301:22) 
 </pre> 

 main problem is in TextField getValidationDefinition and required with number. 

 Please Radek could you check this problem :(  

 Thank you :) 

 Please can you decided if this fix may be part of hotfix 7.5.3? It will be better if will.

Back