"resources/views/git@sites.upe.br:walter.felipe/submeta.git" did not exist on "4ecce3ff0244eb0d732cb17b63100e0800a9c9c2"
Commit 230a9199 authored by Guilherme Silva's avatar Guilherme Silva
Browse files

Mudanças no campo RG

parent 66c3ac5e
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
$('input.cep:text').mask('00000-000'); $('input.cep:text').mask('00000-000');
$('input.cpf:text').mask('000.000.000-00'); $('input.cpf:text').mask('000.000.000-00');
$('input.celular').mask('(00) 00000-0000'); $('input.celular').mask('(00) 00000-0000');
$('input.rg:text').mask('00.000.000-0');
$('input').on("input", function(){ $('input').on("input", function(){
var maxlength = $(this).attr("maxlength"); var maxlength = $(this).attr("maxlength");
......
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</div> </div>
<div class="col-6"> <div class="col-6">
@component('componentes.input', ['label' => 'RG']) @component('componentes.input', ['label' => 'RG'])
<input type="number" class="form-control" min="1" maxlength="12" value="" name="rg" placeholder="RG" id="rg{{$participante->id}}" required /> <input type="text" class="form-control rg" value="" name="rg" placeholder="RG" id="rg{{$participante->id}}" required />
@error('rg') @error('rg')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block"> <span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong> <strong>{{ $message }}</strong>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment