# Custom Input Attributes

The Kendo UI for Angular RadioButton enables you to extend its default functionality by adding custom HTML attributes to the underlying `<input>` element of the component. This feature is particularly useful when you need to enhance the accessibility, optimize the mobile input experience, or customize the browser auto-fill behavior.

To define custom attributes for the inner HTML `<input>` element of the RadioButton, use the [`inputAttributes`](https://www.telerik.com/kendo-angular-ui/components/inputs/api/radiobuttoncomponent#inputattributes) property of the component. The `inputAttributes` property accepts an object where each key represents an attribute name and its corresponding value.

```html HTML
<kendo-radiobutton [inputAttributes]="inputAttributes">
</kendo-radiobutton>
```

```ts TypeScript
public inputAttributes: { [key: string]: string } = { autocomplete: 'off' };
```

The following example demonstrates how to set custom [`data-*`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/data-*) HTML attributes.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/inputs/radiobuttons/custom-attributes/source.txt)

## Suggested Links

* [Kendo UI for Angular RadioButton Overview](https://www.telerik.com/kendo-angular-ui/components/inputs/radiobutton)
* [API Reference of the RadioButton](https://www.telerik.com/kendo-angular-ui/components/inputs/api/radiobuttoncomponent)
* [API Reference of the Inputs](https://www.telerik.com/kendo-angular-ui/components/inputs/api)
