Skip to content

Commit

Permalink
feat(readme) adiciona doc do radio.
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rogerio committed Oct 22, 2024
1 parent 8033740 commit eed28d9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,33 @@ composer install agenciafmd/admix-ui:v11.x-dev
### Textarea

![print do textarea](docs/forms/textarea.png "print do textarea")

```html
<div class="mb-3">
<x-form.textarea name="form.message" label="Mensagem" maxlength=100 required/>
</div>
```
### Radio

![print do radio](docs/forms/radio.png "print do radio")

```html
<div class="mb-3">
<x-form.group label="Escolha o Tipo de Imóvel:">
<x-form.radio name="propertyType" label="Apartamento" value="apartamento"/>
<x-form.radio name="propertyType" label="Casa" value="casa"/>
<x-form.radio name="propertyType" label="Imóvel Comercial" value="imovel-comercial" hint="Selecione uma opção"/>
</x-form.group>
</div>
<div class="mb-3">
<x-form.group label="Escolha o Tipo de Imóvel:">
<x-form.radio name="propertyType" label="Apartamento" value="apartamento" inline/>
<x-form.radio name="propertyType" label="Casa" value="casa" inline/>
<x-form.radio name="propertyType" label="Imóvel Comercial" value="imovel-comercial" hint="Selecione uma opção" inline disabled/>
</x-form.group>
</div>
```

### Checkbox

## Página
Expand Down
Binary file added docs/forms/radio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eed28d9

Please sign in to comment.