Closed vw98075 closed 9 months ago
In a JDL file, I have the following field
changeSinceLastClose Integer min(-999) max(999) required
in an entity.
With the Faker in the dev environment, some negative integers are generated for the field. But in the admin UI, the submit button is greyed out if a negative integer is in the field (see the screenshot).
7.9.3
{ "generator-jhipster": { "applicationType": "monolith", "authenticationType": "jwt", "baseName": "abc", "blueprints": [], "buildTool": "gradle", "cacheProvider": "ehcache", "clientFramework": "vue", "clientPackageManager": "npm", "clientTheme": "spacelab", "clientThemeVariant": "light", "creationTimestamp": 1677562600067, "databaseType": "sql", "devDatabaseType": "h2Memory", "devServerPort": 9060, "dtoSuffix": "DTO", "enableGradleEnterprise": false, "enableHibernateCache": false, "enableSwaggerCodegen": false, "enableTranslation": false, "entities": [ ... ], "entitySuffix": "", "jhiPrefix": "jhi", "jhipsterVersion": "7.9.3", "jwtSecretKey": ... "languages": ["en", "fr"], "lastLiquibaseTimestamp": 1677563028000, "messageBroker": false, "microfrontend": false, "microfrontends": [], "monorepository": true, "nativeLanguage": "en", "otherModules": [], "packageName": "com.xyz.abc", "pages": [], "prodDatabaseType": "postgresql", "reactive": false, "searchEngine": false, "serverPort": "8080", "serverSideOptions": [], "serviceDiscoveryType": "no", "skipCheckLengthOfIdentifier": false, "skipClient": false, "skipCommitHook": true, "skipFakeData": false, "skipUserManagement": false, "testFrameworks": [], "websocket": false, "withAdminUi": true } }
entityName.json
.jhipster
Did you check with angular? I could think of a vue only issue.
It likely is a Vue only issue. I don't use Angular.
@DanielFran I confirm the bug
I try to find a solution
Overview of the issue
In a JDL file, I have the following field
in an entity.
With the Faker in the dev environment, some negative integers are generated for the field. But in the admin UI, the submit button is greyed out if a negative integer is in the field (see the screenshot).
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
JHipster Version(s)
7.9.3
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System