Laravel Nova icon Nova Packages
T

thaana-text-field

Readme

thaana-text-field

This Nova Package allow you to use Nova field with Thaana Keyboard

Installation

composer require aiman/thaana-text-field

Usage

In your Nova resource add the use declaration and use the NovaTinyMCE field:

use Aiman\ThaanaTextField\ThaanaTextField;

    /**
     * Get the fields displayed by the resource.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function fields(Request $request)
    {
        return [
            ID::make()->sortable(),

            ThaanaTextField::make('Content'),
        ];
    }

Thaana

You can turn thaana translation. by default it is true.

ThaanaTextField::make('Content', 'content')->thaana()

Keyboard Type

You can turn thaana keyboard type. by default it is phonetic.

ThaanaTextField::make('Content', 'content')->type()

Thaana to Latin Convertion

install this Thaana Latin Field in order for the function to work ThaanaTextField supports auto latin convertion

ThaanaTextField::make('Content', 'content')->convertToLatin('latin_content'),
ThaanaLatinField::make('Latin Content', 'latin_content'),

Important

This package is tested for nova 2.0+ Latest tested on nova v3.6.0

Credit

Huge Credit goes for @Jawish Hameed for his thaana translation plugin Thaana Keyboard

Back to Top
Added 4 years ago
Last updated 5 Years Ago
Version v1.4.0
Composer
aiman/thaana-text-field
GitHub stars 1
Packagist downloads 23

Favorites

0 users favorited

Rating

0.00
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Tags

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas