Skip to content

Commit

Permalink
Merge branch 'develop' into NewMessageSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-Wei-Jie authored Oct 31, 2024
2 parents 704998b + f1434e2 commit db11e1e
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions src/main/webapp/app/entities/user-skill/user-skill-update.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,7 @@ export const UserSkillUpdate = () => {
validate: v => isNumber(v) || 'This field should be a number.',
}}
/>
<ValidatedField
id="user-skill-userProfile"
name="userProfile"
required
data-cy="userProfile"
label="User Profile"
type="select"
disabled={true}
>
<ValidatedField id="user-skill-userProfile" name="userProfile" required data-cy="userProfile" type="hidden" disabled={true}>
<option value="" key="0" />
{userProfiles
? userProfiles.map(otherEntity => (
Expand All @@ -146,7 +138,7 @@ export const UserSkillUpdate = () => {
))
: null}
</ValidatedField>
<ValidatedField id="user-profile-user" name="user" required data-cy="user" label="User" type="select" disabled={true}>
<ValidatedField id="user-profile-user" name="user" required data-cy="user" type="hidden" disabled={true}>
<option value="" key="0" />
{users
? users.map(otherEntity => (
Expand All @@ -156,7 +148,16 @@ export const UserSkillUpdate = () => {
))
: null}
</ValidatedField>
<ValidatedField id="user-skill-skill" name="skill" data-cy="skill" label="Skill" type="select">
<ValidatedField
id="user-skill-skill"
name="skill"
data-cy="skill"
label="Skill"
type="select"
validate={{
required: { value: true, message: 'This field is required.' },
}}
>
<option value="" key="0" />
{skills
? skills.map(otherEntity => (
Expand All @@ -166,7 +167,16 @@ export const UserSkillUpdate = () => {
))
: null}
</ValidatedField>
<ValidatedField id="user-skill-skillType" name="skillType" data-cy="skillType" label="Skill Type" type="select">
<ValidatedField
id="user-skill-skillType"
name="skillType"
data-cy="skillType"
label="Skill Type"
type="select"
validate={{
required: { value: true, message: 'This field is required.' },
}}
>
<option value="" key="0" />
{codeTables
? codeTables
Expand Down

0 comments on commit db11e1e

Please sign in to comment.