---
description: Phone number validation form input
---

# Phone

### Params

<table><thead><tr><th width="65" data-type="checkbox"> </th><th width="154">Param</th><th width="221">value</th><th>Use for</th></tr></thead><tbody><tr><td>true</td><td>placeholder</td><td>format</td><td>phone format</td></tr><tr><td>true</td><td>value</td><td>number</td><td>phone number</td></tr><tr><td>true</td><td>id</td><td>string</td><td>id of tag</td></tr><tr><td>true</td><td>name</td><td>string</td><td>name of tag</td></tr></tbody></table>

### **Components Laravel (Required JS)**

{% code title="form.blade.php" lineNumbers="true" %}
```html
<!-- insert form case -->
<x-input:phone id="phone" name="phone" value=""/>

<!-- update form case -->
<x-input:phone id="phone" name="phone" value="02354236"/>
```
{% endcode %}

