64robots / nova-fields by 64robots

A Laravel Nova field.
860,658
283
6
Package Data
Maintainer Username: 64robots
Package Create Date: 2018-09-07
Package Last Update: 2024-04-17
Home Page: https://nova-fields.netlify.com
Language: Vue
License: MIT
Last Refreshed: 2024-04-23 03:10:41
Package Statistics
Total Downloads: 860,658
Monthly Downloads: 11,418
Daily Downloads: 523
Total Stars: 283
Total Watchers: 6
Total Forks: 77
Total Open Issues: 30

A collection of customizable Nova Fields

WIP

We are working on a rewrite of every "native" field that comes with Nova.

The idea is make them more configurable and reusable in package development. If you like the idea you can collaborate with us with your awesome PRs!

Available fields:

  • [x] ID
  • [x] Text
  • [x] Number
  • [x] Textarea
  • [x] Select
  • [x] Password
  • [x] Boolean
  • [x] Trix
  • [x] File
  • [x] Image
  • [x] BelongsTo
  • [x] Currency
  • [ ] Status
  • [ ] Avatar
  • [ ] Gravatar
  • [ ] Code
  • [ ] Country
  • [ ] Date
  • [ ] DateTime
  • [ ] Markdown
  • [ ] Place
  • [ ] Timezone

Custom Fields

Some examples:

Boolean::make('Activo', 'active')
                ->yesLabel('Yeah')
                ->noLabel('Nope')
                ->hideLabelInDetail()
                ->dotClasses('some classes')
                ->successClass('bg-warning')

We are also adding events in vue components that propagates up to the chain so the parent notices when something has happened

Looking forward to see your feedback.

Install

Run this command in your nova project: composer require 64robots/nova-fields