File tree 1 file changed +1
-13
lines changed
client/src/app/pages/archetypes/components/archetype-form
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -149,18 +149,7 @@ const ArchetypeForm: React.FC<ArchetypeFormProps> = ({
149
149
)
150
150
. required ( t ( "validation.required" ) ) ,
151
151
152
- tags : yup
153
- . array ( )
154
- . of ( yup . object ( { id : yup . number ( ) , name : yup . string ( ) } ) )
155
- . min ( 1 , ( { min } ) =>
156
- t ( "validation.minCount" , {
157
- count : min ,
158
- type : t ( "terms.tag" ) . toLocaleLowerCase ( ) ,
159
- types : t ( "terms.tags" ) . toLocaleLowerCase ( ) ,
160
- } )
161
- )
162
- . required ( t ( "validation.required" ) ) ,
163
-
152
+ tags : yup . array ( ) . of ( yup . object ( { id : yup . number ( ) , name : yup . string ( ) } ) ) ,
164
153
stakeholders : yup
165
154
. array ( )
166
155
. of ( yup . object ( { id : yup . number ( ) , name : yup . string ( ) } ) ) ,
@@ -279,7 +268,6 @@ const ArchetypeForm: React.FC<ArchetypeFormProps> = ({
279
268
name = "tags"
280
269
label = "Archetype Tags"
281
270
fieldId = "tags"
282
- isRequired
283
271
noResultsMessage = { t ( "message.noResultsFoundTitle" ) }
284
272
placeholderText = { t ( "composed.selectMany" , {
285
273
what : t ( "terms.tags" ) . toLowerCase ( ) ,
You can’t perform that action at this time.
0 commit comments