ninesixtymv / nova-thaana-field
Laravel Nova Thaana field.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2025-04-17 02:41:10 UTC
README
This package contains a Nova field to add Thaana Field to resources. Under the hood it uses the jawish/jtk.
Installation
You can install this package in to a Laravel app that uses Nova via composer:
composer require ninesixtymv/nova-thaana-field
Usage
Text
To make an Text field support Thaana, you can use the Ninesixtymv\NovaThaanaField\ThaanaTextField
field in your Nova resource:
namespace App\Nova; use Ninesixtymv\NovaThaanaField\ThaanaTextField; class Post extends Resource { // ... public function fields(Request $request) { return [ // ... ThaanaTextField::make('Title'), // ... ]; } }
Textarea
To make an Textarea field support Thaana, you can use the Ninesixtymv\NovaThaanaField\ThaanaTextareaField
field in your Nova resource:
namespace App\Nova; use Ninesixtymv\NovaThaanaField\ThaanaTextField; class Post extends Resource { // ... public function fields(Request $request) { return [ // ... ThaanaTextareaField::make('Description'), // ... ]; } }
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please create an issue.
Credits
The javascript that enable Thaana in the fields is based on the JTK package created by Jawish Hameed
License
The MIT License (MIT). Please see License File for more information.