Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
bubblev
/
swagger-ui
Seguir
4
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Fix for non-required inputs
bubble
Owen Conti
hace 7 años
padre
dd1b87e3d7
commit
718658e837
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
src/core/utils.js
+ 1
- 1
src/core/utils.js
Ver fichero
@@ -463,7 +463,7 @@ export const validateInteger = ( val ) => {
}
export const validateFile = ( val ) => {
if ( !(val instanceof win.File) ) {
if (
val &&
!(val instanceof win.File) ) {
return "Value must be a file"
}
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar