This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"firstName": "Juliette", | |
"lastName": "Tucker", | |
"email": "[email protected]", | |
"favoriteColor": "magenta", | |
"birthday": "11/02/15" | |
}, | |
{ | |
"firstName": "Irma", |
- I'm working with https://www.nuget.org/.../Microsoft.jQuery.Unobtrusive... and https://www.nuget.org/packages/jQuery.Validation/
- In the form below, I want to validate in Spanish that field, but for some cases I'm not getting the error message in Spanish, but in English. What do you think is the problem? How do you think I can tackle it? I've run out of ideas.
- I was able to make it work from English to Spanish by using this code: https://gist.github.com/.../a1e9e4a4ef5dfe27d136b020560fdd72 but it did not work for that specific error case.
- These are the validate files I'm using: https://i.imgur.com/EMEvcP3.png
- I'm using jQuery 3.5.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function( factory ) { | |
if ( typeof define === "function" && define.amd ) { | |
define( ["jquery", "../jquery.validate"], factory ); | |
} else if (typeof module === "object" && module.exports) { | |
module.exports = factory( require( "jquery" ) ); | |
} else { | |
factory( jQuery ); | |
} | |
} | |
(function ($) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:go_router/go_router.dart'; | |
void main() { | |
runApp(const MainApp()); | |
} | |
class MainApp extends StatelessWidget { | |
const MainApp({super.key}); |
The request sent to the Web server used an HTTP verb that is not allowed by the module configured to handle the
request. A request was sent to the server that contained an invalid HTTP verb. The request is for static content
and contains an HTTP verb other than GET or HEAD. A request was sent to a virtual directory using the HTTP verb
POST and the default document is a static file that does not support HTTP verbs other than GET or HEAD.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:miningtrackerapp/domain/entities/prueba.dart'; | |
import 'package:miningtrackerapp/presentation/providers/pruebas/pruebas_repository_provider.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
/// PROVIDERS ================================================================== | |
// 1 | |
final providerPruebasList = | |
StateNotifierProvider<PruebasListNotifier, List<Prueba>>((ref) { | |
final getPruebasList = ref.watch(pruebasRepositoryProvider).getPruebasList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
import 'package:go_router/go_router.dart'; | |
import 'package:miningtrackerapp/config/config.dart'; | |
import 'package:miningtrackerapp/domain/entities/prueba.dart'; | |
import 'package:miningtrackerapp/presentation/providers/pruebas/pruebas_api_provider.dart'; | |
import 'package:miningtrackerapp/presentation/presentation_widgets.dart'; | |
import 'package:miningtrackerapp/presentation/providers/pruebas/pruebas_repository_provider.dart'; | |
class PruebasItemScreen extends ConsumerStatefulWidget { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:intl/intl.dart'; | |
const Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class CustomSwitchFormField extends StatefulWidget { | |
final String title; | |
final String subtitle; | |
final SwitchController controller; | |
const CustomSwitchFormField( | |
{super.key, | |
required this.title, |