64robots / nova-fields by 64robots

A Laravel Nova field.
924,665
285
6
Package Data
Maintainer Username: 64robots
Package Create Date: 2018-09-07
Package Last Update: 2024-07-17
Home Page: https://nova-fields.netlify.com
Language: Vue
License: MIT
Last Refreshed: 2024-11-19 03:20:00
Package Statistics
Total Downloads: 924,665
Monthly Downloads: 7,636
Daily Downloads: 349
Total Stars: 285
Total Watchers: 6
Total Forks: 78
Total Open Issues: 29

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